Implement Event Ratings

This commit is contained in:
shlok007 2016-09-22 20:06:46 -04:00 committed by Shlok Srivastava
parent 5be1ad52ee
commit 20f4853487
67 changed files with 1298 additions and 378 deletions

View file

@ -1,5 +1,6 @@
Osem::Application.routes.draw do
post '/rate' => 'rater#create', as: 'rate'
if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
devise_for :users, controllers: { registrations: :registrations }
else
@ -72,6 +73,7 @@ Osem::Application.routes.draw do
end
resources :resources
resources :votable_fields
resources :tickets
resources :sponsors, except: [:show]
resources :lodgings, except: [:show]