@@ -5,7 +5,7 | |||
|
5 | 5 | select_tag('status_by', |
|
6 | 6 | status_by_options_for_select(criteria), |
|
7 | 7 | :id => 'status_by_select', |
|
8 |
:onchange => remote_function(:url => |
|
|
8 | :onchange => remote_function(:url => status_by_project_version_path(version.project, version), | |
|
9 | 9 | :with => "Form.serialize('status_by_form')"))) %> |
|
10 | 10 | </legend> |
|
11 | 11 | <% if counts.empty? %> |
@@ -185,7 +185,7 ActionController::Routing::Routes.draw do |map| | |||
|
185 | 185 | } do |project| |
|
186 | 186 | project.resource :project_enumerations, :as => 'enumerations', :only => [:update, :destroy] |
|
187 | 187 | project.resources :files, :only => [:index, :new, :create] |
|
188 | project.resources :versions, :collection => {:close_completed => :put} | |
|
188 | project.resources :versions, :collection => {:close_completed => :put}, :member => {:status_by => :post} | |
|
189 | 189 | end |
|
190 | 190 | |
|
191 | 191 | # Destroy uses a get request to prompt the user before the actual DELETE request |
General Comments 0
You need to be logged in to leave comments.
Login now