First version for App and Object auth.Taking Announcement as experiment
This commit is contained in:
1 parent
17caa7cb1b
commit
5640e07733
31 files changed
+161
-52
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ PrototypeR4::Application.routes.draw do
|
||||
resources :app_auths
|
||||
resources :object_auths do
|
||||
collection do
|
||||
match 'new/:type/:obj_id',:action => 'new',:via => "get",:as => :init
|
||||
match 'new/:type/:obj_id/:module_app_id',:action => 'new',:via => "get",:as => :init
|
||||
end
|
||||
member do
|
||||
match ':id/create_role',:action => 'create_role',:via => "post",:as => :create_role
|
||||
|
||||
Reference in new issue
Block a user