summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/document_add.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-15 15:16:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-15 15:16:15 +0000
commitc4239a4fd2f9c91a43a170d19f3f913022428d0b (patch)
tree6ccd11e40bb55b6002b357d8ef0bf8ca0d635bb8 /app/views/mailer/document_add.rhtml
parent7379d4e2d04b902e897cded570796955d452ac3c (diff)
downloadredmine-c4239a4fd2f9c91a43a170d19f3f913022428d0b.tar.gz
redmine-c4239a4fd2f9c91a43a170d19f3f913022428d0b.zip
Removed hard-coded URLs in mail templates.
Untranslated templates were deleted. git-svn-id: http://redmine.rubyforge.org/svn/trunk@641 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer/document_add.rhtml')
-rw-r--r--app/views/mailer/document_add.rhtml2
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 %>