diff options
Diffstat (limited to 'app/views/mailer/document_add.rhtml')
-rw-r--r-- | app/views/mailer/document_add.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/mailer/document_add.rhtml b/app/views/mailer/document_add.rhtml index 67648de15..dfd51d359 100644 --- a/app/views/mailer/document_add.rhtml +++ b/app/views/mailer/document_add.rhtml @@ -1,4 +1,4 @@ A document has been added to <%= @document.project.name %> (<%= @document.category.name %>): <%= l(:field_title) %>: <%= @document.title %> -http://<%= Setting.host_name %>/documents/show/<%= @document.id %>
\ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> |