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