diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-09 00:08:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-09 00:08:50 +0000 |
commit | 5835648290e91b3f7646d4750e5eb6f3cd0b222f (patch) | |
tree | 30ba7ea4e59e8f5616a4f22173170fa6b9c89721 /app/views/projects/settings | |
parent | 417219bfc49fd0d2ec725c27bbc57d960e8b699b (diff) | |
download | redmine-5835648290e91b3f7646d4750e5eb6f3cd0b222f.tar.gz redmine-5835648290e91b3f7646d4750e5eb6f3cd0b222f.zip |
route: use ":controller" instead of ":as" for project_enumerations
Rails3 new route format needs this syntax.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8570 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r-- | app/views/projects/settings/_activities.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/settings/_activities.html.erb b/app/views/projects/settings/_activities.html.erb index 22d23a8ba..296737dd5 100644 --- a/app/views/projects/settings/_activities.html.erb +++ b/app/views/projects/settings/_activities.html.erb @@ -1,4 +1,4 @@ -<% form_tag(project_project_enumerations_path(@project), :method => :put, :class => "tabular") do %> +<% form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %> <table class="list"> <thead><tr> @@ -32,7 +32,7 @@ </table> <div class="contextual"> -<%= link_to(l(:button_reset), project_project_enumerations_path(@project), +<%= link_to(l(:button_reset), project_enumerations_path(@project), :method => :delete, :confirm => l(:text_are_you_sure), :class => 'icon icon-del') %> |