summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/document_added.text.html.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/mailer/document_added.text.html.rhtml')
-rw-r--r--app/views/mailer/document_added.text.html.rhtml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/mailer/document_added.text.html.rhtml b/app/views/mailer/document_added.text.html.rhtml
index d7d6558b8..2ef63012b 100644
--- a/app/views/mailer/document_added.text.html.rhtml
+++ b/app/views/mailer/document_added.text.html.rhtml
@@ -1,6 +1,3 @@
-<%= link_to @document.title, :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %>
-(<%= @document.category.name %>)<br />
+<%= link_to @document.title, @document_url %> (<%= @document.category.name %>)<br />
<br />
<%= textilizable(@document.description) %>
-<hr />
-<small><em><%= textilizable Setting.emails_footer %></em></small>