@@ -1,4 +1,4 | |||
|
1 |
<% form_tag(project_ |
|
|
1 | <% form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %> | |
|
2 | 2 | |
|
3 | 3 | <table class="list"> |
|
4 | 4 | <thead><tr> |
@@ -32,7 +32,7 | |||
|
32 | 32 | </table> |
|
33 | 33 | |
|
34 | 34 | <div class="contextual"> |
|
35 |
<%= link_to(l(:button_reset), project_ |
|
|
35 | <%= link_to(l(:button_reset), project_enumerations_path(@project), | |
|
36 | 36 | :method => :delete, |
|
37 | 37 | :confirm => l(:text_are_you_sure), |
|
38 | 38 | :class => 'icon icon-del') %> |
@@ -151,7 +151,7 ActionController::Routing::Routes.draw do |map| | |||
|
151 | 151 | :archive => :post, |
|
152 | 152 | :unarchive => :post |
|
153 | 153 | } do |project| |
|
154 |
project.resource : |
|
|
154 | project.resource :enumerations, :controller => 'project_enumerations', | |
|
155 | 155 | :only => [:update, :destroy] |
|
156 | 156 | # issue form update |
|
157 | 157 | project.issue_form 'issues/new', :controller => 'issues', |
General Comments 0
You need to be logged in to leave comments.
Login now