Refactoring Tickets

- Tickets now independent from registration
- Implemented money gem
#419
This commit is contained in:
Chrisbr 2014-08-28 15:21:05 +02:00
parent 5485fe0e7f
commit 5f8a8ac6d9
63 changed files with 1581 additions and 573 deletions

View file

@ -56,7 +56,7 @@ Osem::Application.routes.draw do
resources :social_events, only: [:show, :update, :index]
resources :supporter_levels, only: [:show, :update, :index]
resources :tickets
resources :emails, only: [:show, :update, :index]
@ -83,8 +83,6 @@ Osem::Application.routes.draw do
end
resource :speaker, only: [:edit, :update]
end
resources :supporters
end
end
@ -99,6 +97,8 @@ Osem::Application.routes.draw do
end
resource :conference_registrations, path: 'register'
resources :tickets, only: [:index]
resources :ticket_purchases, only: [:create, :destroy]
resource :schedule, only: [] do
get "/" => "schedule#index"