From 223a576f2a5d24281aecd679ace6af3a2f8694ed Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 20 Apr 2015 16:59:42 +0300 Subject: [PATCH] Make the management root point to conferences#index --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 3b2b647..bbee9ef 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,7 +2,7 @@ Rails.application.routes.draw do devise_for :users namespace :management do - get '/', to: 'events#index' + get '/', to: 'conferences#index' resources :conferences do member do @@ -32,5 +32,5 @@ Rails.application.routes.draw do end end - root 'management/events#index' + root 'management/conferences#index' end