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