Remove the OpenFest engine from the routes

This commit is contained in:
Petko Bordjukov 2015-08-15 02:48:49 +03:00
parent 5b7eb4b562
commit 3fd7cb79a8
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
Rails.application.routes.draw do Rails.application.routes.draw do
mount OpenFest::Engine, at: '/', constraints: {subdomain: 'cfp'}, conference_id: 1 devise_for :users
scope module: :public, constraints: {subdomain: 'cfp'}, conference_id: 1 do
root to: 'events#index'
resource :personal_profile, path: 'profile'
resources :events
end
namespace :management do namespace :management do
root to: 'home#index' root to: 'home#index'
devise_for :users
resources :conferences do resources :conferences do
resources :events resources :events