fix bugs with token

This commit is contained in:
Matthew Kaito Juyuan Fu authored and Christophe Vilayphiou committed 2012-02-29 18:56:42 +08:00
1 parent cc550c5745
commit 2e58c63ff7
8 files changed
+31 -12

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ PrototypeR4::Application.routes.draw do
resources :app_auths
resources :object_auths do
collection do
match 'new/:type/:obj_id/:module_app_id',:action => 'new',:via => "get",:as => :init
match 'new/:type/:obj_id',:action => 'new',:via => "get",:as => :init
end
member do
match ':id/create_role',:action => 'create_role',:via => "post",:as => :create_role