Big refactoring of registration

- Added datatable gem
- Addaed datatable to events, users (#422), registrations
This commit is contained in:
Chrisbr 2014-08-22 15:08:54 +02:00
parent 0f1051d24e
commit d21e19b977
34 changed files with 435 additions and 12988 deletions

View file

@ -27,8 +27,8 @@ Osem::Application.routes.draw do
get '/volunteers' => 'volunteers#index', as: 'volunteers_info'
patch '/volunteers' => 'volunteers#update', as: 'volunteers_update'
patch '/registrations/change_field' => 'registrations#change_field'
resources :registrations
patch '/registrations/toogle_attended' => 'registrations#toogle_attended'
resources :registrations, except: [:create, :new]
resource :registration_period
@ -97,13 +97,13 @@ Osem::Application.routes.draw do
patch '/restart' => 'proposal#restart'
end
end
resource :conference_registrations, path: 'register'
resource :schedule, only: [] do
get "/" => "schedule#index"
end
get "/register" => "conference_registration#register"
patch "/register" => "conference_registration#update"
delete "/register" => "conference_registration#unregister"
member do
get "gallery_photos"
patch "subscription" => "conference#subscribe"