clarion/config/routes.rb
2015-08-05 14:56:49 +03:00

23 lines
534 B
Ruby

Rails.application.routes.draw do
mount OpenFest::Engine, at: '/', constraints: {subdomain: 'cfp'}, conference_id: 1
namespace :management do
root to: 'home#index'
devise_for :users
resources :conferences do
resources :events
resources :volunteers
resources :propositions
resources :sponsorship_offers
resource :call_for_participation, only: [:create, :destroy]
resources :personal_profiles do
member do
put :toggle_admin
end
end
end
end
end