summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/document_added.text.plain.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/mailer/document_added.text.plain.rhtml')
-rw-r--r--app/views/mailer/document_added.text.plain.rhtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/mailer/document_added.text.plain.rhtml b/app/views/mailer/document_added.text.plain.rhtml
index bb42758f7..a6a72829e 100644
--- a/app/views/mailer/document_added.text.plain.rhtml
+++ b/app/views/mailer/document_added.text.plain.rhtml
@@ -1,6 +1,4 @@
<%= @document.title %> (<%= @document.category.name %>)
-<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %>
+<%= @document_url %>
<%= @document.description %>
-----------------------------------------
-<%= Setting.emails_footer %>