Remove unless files and change routes.
This commit is contained in:
1 parent
0119ab1a74
commit
7a6d30ad62
20 files changed
+10
-395
No files matched your search
+8
-3
@@ -16,6 +16,11 @@ Orbit::Application.routes.draw do
|
||||
resources :assets
|
||||
resources :app_auths
|
||||
resources :object_auths do
|
||||
match 'new_interface/:ob_type/:title/new' => "object_auths_new_interface#new" ,:as => :init_ob_auth,:via => :get
|
||||
match 'new_interface' => "object_auths_new_interface#setting" ,:as => :ob_auth,:via => :get
|
||||
match 'new_interface' => "object_auths_new_interface#update_setting" ,:as => :ob_auth,:via => :post
|
||||
match 'new_interface' => "object_auths_new_interface#user_list" ,:as => :ob_auth_show,:via => :put
|
||||
|
||||
collection do
|
||||
match 'new/:type/:obj_id',:action => 'new',:via => "get",:as => :init
|
||||
end
|
||||
@@ -62,9 +67,9 @@ Orbit::Application.routes.draw do
|
||||
end
|
||||
end
|
||||
resources :module_apps do
|
||||
match 'manager_auth_proc' => "new_interface_module_apps#setting" ,:as => :manager_auth_proc,:via => :get
|
||||
match 'manager_auth_proc' => "new_interface_module_apps#update_setting" ,:as => :manager_auth_proc,:via => :post
|
||||
match 'manager_auth_proc' => "new_interface_module_apps#user_list" ,:as => :manager_auth_show,:via => :put
|
||||
match 'manager_auth_proc' => "module_apps_new_interface#setting" ,:as => :manager_auth_proc,:via => :get
|
||||
match 'manager_auth_proc' => "module_apps_new_interface#update_setting" ,:as => :manager_auth_proc,:via => :post
|
||||
match 'manager_auth_proc' => "module_apps_new_interface#user_list" ,:as => :manager_auth_show,:via => :put
|
||||
resources :app_auths do
|
||||
member do
|
||||
match 'remove/:type/:target_id' ,:action=> 'remove',:via => "delete",:as =>:remove
|
||||
|
||||
Reference in new issue
Block a user