Allow platform admins and internal users to switch their current study group
This commit is contained in:

committed by
Sebastian Serth

parent
2e3480a068
commit
ac3dc8d30f
@ -160,7 +160,11 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resources :study_groups, only: %i[index show edit destroy update]
|
||||
resources :study_groups, only: %i[index show edit destroy update] do
|
||||
member do
|
||||
post :set_as_current
|
||||
end
|
||||
end
|
||||
|
||||
resources :events, only: [:create]
|
||||
|
||||
|
Reference in New Issue
Block a user