Manger and SubManager

This commit is contained in:
Matthew Fu committed 2012-01-13 18:20:04 +08:00
1 parent c0efb5d1bc
commit 42c89220e3
8 files changed
+158 -1

No files matched your search

+5
View File
@@ -40,6 +40,11 @@ PrototypeR4::Application.routes.draw do
end
resources :module_apps do
member do
match 'assign_manager' ,:action=> 'assign_manager',:via => "post",:as =>:assign_manager
match 'assign_sub_manager' ,:action=> 'assign_sub_manager',:via => "post",:as =>:assign_sub_manager
match 'remove_manager/:app_manager_id' ,:action=> 'remove_manager',:via => "delete",:as =>:remove_manager
match 'remove_sub_manager/:app_sub_manager_id' ,:action=> 'remove_sub_manager',:via => "delete",:as =>:remove_sub_manager
get 'reload_frontend_pages'
end
end