|
|
@ -8,22 +8,25 @@ BikeBike::Application.routes.draw do |
|
|
|
|
|
|
|
resources :conference_types, :param => :type, :path => '/conferences', :as => :conference, :except => :index do |
|
|
|
resources :conferences, :param => :slug, :path => '/' do |
|
|
|
get :hosts |
|
|
|
get :registration |
|
|
|
resources :workshops, :param => 'slug' |
|
|
|
get :registration |
|
|
|
get :register |
|
|
|
patch 'register/step/:step' => 'conferences#register_step' |
|
|
|
#get :hosts |
|
|
|
#get :registration |
|
|
|
#get :registration |
|
|
|
#resources :workshops, :param => 'slug' |
|
|
|
#get :register, :param => 'step' |
|
|
|
##get 'register(/:step)' => 'conferences#register' |
|
|
|
#patch 'register/step/:step' => 'conferences#register_step' |
|
|
|
#resources :registrations, :path => 'registration' do |
|
|
|
# get :form, on: :collection |
|
|
|
#end |
|
|
|
get 'registration/form' => 'conferences#registration', :sub_action => "form", as: 'registration_form' |
|
|
|
get 'registration/form/register' => 'conferences#registration', :sub_action => "register", as: 'registration_register' |
|
|
|
get 'registration/form/stats' => 'conferences#registration', :sub_action => "stats", as: 'registration_stats' |
|
|
|
post :nonhosts |
|
|
|
post 'registration/form/add-field' => 'conferences#add_field', as: 'registration_add_field' |
|
|
|
post 'registration/form/remove-field' => 'conferences#remove_field', as: 'registration_remove_field' |
|
|
|
post 'registration/form/reorder' => 'conferences#reorder', as: 'registration_reorder' |
|
|
|
#get 'registration/form' => 'conferences#registration', :sub_action => "form", as: 'registration_form' |
|
|
|
#get 'registration/form/register' => 'conferences#registration', :sub_action => "register", as: 'registration_register' |
|
|
|
#get 'registration/form/stats' => 'conferences#registration', :sub_action => "stats", as: 'registration_stats' |
|
|
|
#post :nonhosts |
|
|
|
#post 'registration/form/add-field' => 'conferences#add_field', as: 'registration_add_field' |
|
|
|
#post 'registration/form/remove-field' => 'conferences#remove_field', as: 'registration_remove_field' |
|
|
|
#post 'registration/form/reorder' => 'conferences#reorder', as: 'registration_reorder' |
|
|
|
|
|
|
|
#post 'registration/form/reorder' => 'conferences#reorder', as: 'registration_reorder' |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|