Replace update from member to collection
This commit is contained in:
parent
57ad1432a5
commit
90fe1cc995
1 changed files with 5 additions and 1 deletions
|
|
@ -27,7 +27,11 @@ Osem::Application.routes.draw do
|
||||||
resources :difficulty_levels, only: [:show, :update, :index]
|
resources :difficulty_levels, only: [:show, :update, :index]
|
||||||
resources :rooms, only: [:show, :update, :index]
|
resources :rooms, only: [:show, :update, :index]
|
||||||
resources :tracks, only: [:show, :update, :index]
|
resources :tracks, only: [:show, :update, :index]
|
||||||
resources :eventtypes, only: [:show, :update, :index]
|
resources :eventtypes, only: [:show, :index] do
|
||||||
|
collection do
|
||||||
|
patch :update
|
||||||
|
end
|
||||||
|
end
|
||||||
resources :social_events, only: [:show, :update, :index]
|
resources :social_events, only: [:show, :update, :index]
|
||||||
resources :supporter_levels, only: [:show, :update, :index]
|
resources :supporter_levels, only: [:show, :update, :index]
|
||||||
resources :emails, only: [:show, :update, :index]
|
resources :emails, only: [:show, :update, :index]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue