Make the management root point to conferences#index

This commit is contained in:
Petko Bordjukov 2015-04-20 16:59:42 +03:00
parent eed66f32e2
commit 223a576f2a
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Rails.application.routes.draw do
devise_for :users devise_for :users
namespace :management do namespace :management do
get '/', to: 'events#index' get '/', to: 'conferences#index'
resources :conferences do resources :conferences do
member do member do
@ -32,5 +32,5 @@ Rails.application.routes.draw do
end end
end end
root 'management/events#index' root 'management/conferences#index'
end end