projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
927627d
)
Fix user_agreements/sign* routing again.
author
Tom Clegg <tom@curoverse.com>
Tue, 11 Mar 2014 18:05:59 +0000
(14:05 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 11 Mar 2014 18:05:59 +0000
(14:05 -0400)
apps/workbench/config/routes.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/config/routes.rb
b/apps/workbench/config/routes.rb
index b6f365683ae3f6bbb0f24b97e8621ae1ac45a4b2..523771c0b172cf4000e0da80d4f656f328918597 100644
(file)
--- a/
apps/workbench/config/routes.rb
+++ b/
apps/workbench/config/routes.rb
@@
-2,8
+2,10
@@
ArvadosWorkbench::Application.routes.draw do
themes_for_rails
resources :keep_disks
- resources :user_agreements
- put '/user_agreements/sign' => 'user_agreements#sign'
+ resources :user_agreements do
+ put 'sign', on: :collection
+ get 'signatures', on: :collection
+ end
get '/user_agreements/signatures' => 'user_agreements#signatures'
resources :nodes
resources :humans