added intervention controller and stuff

This commit is contained in:
Thomas Hille
2017-02-28 15:24:53 +01:00
parent 2456f46b2b
commit 3d7f5bdf1a
10 changed files with 141 additions and 8 deletions

View File

@ -61,6 +61,7 @@ Rails.application.routes.draw do
post :clone
get :implement
get :working_times
post :intervention
get :statistics
get :reload
post :submit
@ -83,6 +84,14 @@ Rails.application.routes.draw do
end
end
resources :interventions do
member do
post :clone
get :reload
post :submit
end
end
resources :external_users, only: [:index, :show], concerns: :statistics do
resources :exercises, concerns: :statistics
end