From 3fd7cb79a813ffe4adc809912168b0ae9f3bf1fb Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 15 Aug 2015 02:48:49 +0300 Subject: [PATCH] Remove the OpenFest engine from the routes --- config/routes.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 1e7a448..3d84392 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,9 +1,14 @@ 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 root to: 'home#index' - devise_for :users resources :conferences do resources :events