Fix the callforpapers routing and some styling issues

This commit is contained in:
Henne Vogelsang 2014-05-13 14:17:39 +02:00
parent 740540de13
commit e4c19ab1f6
6 changed files with 40 additions and 9 deletions

View file

@ -25,19 +25,33 @@ Osem::Application.routes.draw do
patch "/volunteers" => "volunteers#update", :as => "volunteers_update"
resources :difficulty_levels, only: [:show, :update, :index]
resources :rooms, only: [:show, :update, :index]
resources :tracks, only: [:show, :update, :index]
resources :eventtypes, only: [:show, :index] do
collection do
patch :update
end
end
resources :social_events, only: [:show, :update, :index]
resources :supporter_levels, only: [:show, :update, :index]
resources :emails, only: [:show, :update, :index]
resources :callforpapers, only: [:show, :update, :index]
resources :callforpapers, only: [:create] do
collection do
patch :update
get :show
end
end
patch "/questions/update_conference" => "questions#update_conference"
resources :questions
resources :events do
member do
post :comment
@ -47,6 +61,7 @@ Osem::Application.routes.draw do
end
resource :speaker, :only => [:edit, :update]
end
resources :supporters
end
end