X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/65f13986f98a75f8da7cfe695ea5960ff741d402..4aee7d57faff02fc6b7b6f750dc22a29e58bb963:/apps/workbench/config/routes.rb diff --git a/apps/workbench/config/routes.rb b/apps/workbench/config/routes.rb index 8dcc7fdd20..718adfd2ed 100644 --- a/apps/workbench/config/routes.rb +++ b/apps/workbench/config/routes.rb @@ -65,6 +65,8 @@ ArvadosWorkbench::Application.routes.draw do get 'virtual_machines', :on => :member get 'repositories', :on => :member get 'ssh_keys', :on => :member + get 'link_account', :on => :collection + post 'link_account', :on => :collection, :action => :merge end get '/current_token' => 'users#current_token' get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup @@ -95,7 +97,7 @@ ArvadosWorkbench::Application.routes.draw do post 'remove_selected_files', on: :member get 'tags', on: :member post 'save_tags', on: :member - get 'multisite', on: :collection + get 'multisite', on: :collection, to: redirect('/search') end get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file', format: false) @@ -132,6 +134,8 @@ ArvadosWorkbench::Application.routes.draw do get '/tests/mithril', to: 'tests#mithril' + get '/status', to: 'status#status' + # Send unroutable requests to an arbitrary controller # (ends up at ApplicationController#render_not_found) match '*a', to: 'links#render_not_found', via: [:get, :post]