added intervention controller and stuff
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user