diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 19:16:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 19:16:29 +0000 |
commit | 1da158edcffbb3db0ae88e781bcd4a412124f478 (patch) | |
tree | 59b41fc2d9eb63359d4734fd4b1bb76543215ef4 /app/views/admin | |
parent | 9a80e118b96e3537392f1aad42505c4c1843519c (diff) | |
download | redmine-1da158edcffbb3db0ae88e781bcd4a412124f478.tar.gz redmine-1da158edcffbb3db0ae88e781bcd4a412124f478.zip |
Use route helper in #link_to_project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/projects.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index c2da70cbe..00c13d581 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -27,7 +27,7 @@ <tbody> <% project_tree(@projects) do |project, level| %> <tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> - <td class="name"><span><%= link_to_project(project, {:action => (project.active? ? 'settings' : 'show')}, :title => project.short_description) %></span></td> + <td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td> <td align="center"><%= checked_image project.is_public? %></td> <td align="center"><%= format_date(project.created_on) %></td> <td class="buttons"> |