18 lines
381 B
Ruby
18 lines
381 B
Ruby
Rails.application.routes.draw do
|
|
devise_for :users
|
|
|
|
namespace :management do
|
|
get '/', to: 'conferences#index'
|
|
|
|
resources :conferences do
|
|
resources :events
|
|
resources :volunteers
|
|
resources :sponsorship_offers
|
|
resource :call_for_participation, only: [:create, :destroy]
|
|
end
|
|
resources :users
|
|
end
|
|
|
|
root 'management/conferences#index'
|
|
end
|