Skip to content
Browse files

fix milestone routes. issue #344

  • Loading branch information...
1 parent 4d1d786 commit 3a7ea9e5c191b957ef0635fd79cee0506965014e @liufengyun liufengyun committed Apr 10, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 config/routes.rb
View
16 config/routes.rb
@@ -96,10 +96,24 @@
get 'projects/:id/ajax_add_permission' => 'projects#ajax_add_permission'
- resources :projects, :customers, :property_values, :milestones do
+ resources :projects, :customers, :property_values do
resources :score_rules
end
+ resources :milestones do
+ resources :score_rules
+
+ collection do
+ get :get_milestones
+ get :list_completed
+ end
+
+ member do
+ get :revert
+ get :complete
+ end
+ end
+
resources :companies do
resources :score_rules
member do

0 comments on commit 3a7ea9e

Please sign in to comment.
Something went wrong with that request. Please try again.