Merge pull request #117 from hennevogel/callforpapers

Fix the callforpapers routing and some styling issues
This commit is contained in:
Henne Vogelsang 2014-05-14 11:29:53 +02:00
commit f6088e9abe
6 changed files with 57 additions and 20 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