GitLab wurde erfolgreich aktualisiert. Durch regelmäßige Updates bleibt das THM GitLab sicher. Danke für Ihre Geduld.

Commit 9dd3fa14 authored by tmaruyama's avatar tmaruyama

route: use ":controller" instead of ":as" for project_enumerations

Rails3 new route format needs this syntax.

git-svn-id: https://svn.redmine.org/redmine/trunk@8570 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 974e09d7
<% 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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment