diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:51:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:51:16 +0000 |
commit | c3c2a4afe0083bf704110c3d13ee7b80262293ee (patch) | |
tree | 984a572187e777532ad0f0b776a533bd485924d4 /app/views/documents/_document.html.erb | |
parent | 1a28bd8e7e3adf7a8423005cc39ccf0b151f3bda (diff) | |
download | redmine-c3c2a4afe0083bf704110c3d13ee7b80262293ee.tar.gz redmine-c3c2a4afe0083bf704110c3d13ee7b80262293ee.zip |
Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents/_document.html.erb')
-rw-r--r-- | app/views/documents/_document.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb index 91bed442f..e14d880a7 100644 --- a/app/views/documents/_document.html.erb +++ b/app/views/documents/_document.html.erb @@ -1,4 +1,4 @@ -<h4><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %></h4> +<h4><%= link_to h(document.title), document_path(document) %></h4> <p><em><%= format_time(document.updated_on) %></em></p> <div class="wiki"> |