Introduce Booths for admin

This commit is contained in:
nasia 2017-05-17 13:31:27 +03:00
parent f9d8c9715c
commit b4ad2ea738
22 changed files with 533 additions and 1 deletions

View file

@ -37,6 +37,19 @@ Osem::Application.routes.draw do
get '/volunteers' => 'volunteers#index', as: 'volunteers_info'
patch '/volunteers' => 'volunteers#update', as: 'volunteers_update'
resources :booths do
member do
patch :accept
patch :restart
patch :withdrawn
patch :to_accept
patch :reject
patch :reset
patch :to_reject
patch :cancel
end
end
resources :registrations, except: [:create, :new] do
member do
patch :toggle_attendance