X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7cf55dce1df774d2c3daa3e54c0d4f27c38d4b11..ea812dad57e1e31cfce0167a8b8431aad15bf01a:/apps/workbench/config/routes.rb diff --git a/apps/workbench/config/routes.rb b/apps/workbench/config/routes.rb index 527d6efef5..0981d2ea37 100644 --- 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 - post '/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 @@ -19,6 +21,7 @@ ArvadosWorkbench::Application.routes.draw do resources :users do get 'home', :on => :member get 'welcome', :on => :collection + get 'activity', :on => :collection post 'sudo', :on => :member end resources :logs @@ -34,6 +37,9 @@ ArvadosWorkbench::Application.routes.draw do match '/collections/graph' => 'collections#graph' resources :collections get '/collections/:uuid/*file' => 'collections#show_file', :format => false + + post 'actions' => 'actions#post' + root :to => 'users#welcome' # Send unroutable requests to an arbitrary controller