Merge branch '5737-ruby231'
[arvados.git] / apps / workbench / config / routes.rb
index 9bcebbd2749825da1e288805007d1ef5e336bdff..7c2312c1cee57c7ffef86ad300539d8c575db5bf 100644 (file)
@@ -15,8 +15,9 @@ ArvadosWorkbench::Application.routes.draw do
   get "star" => 'actions#star', :as => :star
   get "all_processes" => 'work_units#index', :as => :all_processes
   get "choose_work_unit_templates" => 'work_unit_templates#choose', :as => :choose_work_unit_templates
-  resources :work_units
-  post "show_child_component" => 'work_units#show_child_component'
+  resources :work_units do
+    post 'show_child_component', :on => :member
+  end
   resources :nodes
   resources :humans
   resources :traits