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
This commit is contained in:
parent
417219bfc4
commit
5835648290
@ -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') %>
|
||||
|
@ -151,7 +151,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
:archive => :post,
|
||||
:unarchive => :post
|
||||
} do |project|
|
||||
project.resource :project_enumerations, :as => 'enumerations',
|
||||
project.resource :enumerations, :controller => 'project_enumerations',
|
||||
:only => [:update, :destroy]
|
||||
# issue form update
|
||||
project.issue_form 'issues/new', :controller => 'issues',
|
||||
|
Loading…
x
Reference in New Issue
Block a user