From 0d5d2af27f1f8e75ebe929b07bef471be86b0034 Mon Sep 17 00:00:00 2001 From: Gregory horion Date: Wed, 25 Jan 2012 16:43:58 +0100 Subject: [PATCH] give me the rool url in the 2.0.0rc please Conflicts: config/routes.rb --- config/routes.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index f7ee07b8..28b97463 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -99,10 +99,8 @@ Rails.application.routes.draw do match ':locale/*path/_edit' => 'locomotive/public/pages#edit', :locale => /(#{Locomotive.config.site_locales.join('|')})/ match '*path/_edit' => 'locomotive/public/pages#edit' - match '/' => 'locomotive/public/pages#show' + root :to => 'locomotive/public/pages#show' match ':locale' => 'locomotive/public/pages#show', :page_path => 'index', :locale => /(#{Locomotive.config.site_locales.join('|')})/ match ':locale/*path' => 'locomotive/public/pages#show', :locale => /(#{Locomotive.config.site_locales.join('|')})/ match '*path' => 'locomotive/public/pages#show' - - -end \ No newline at end of file +end