give me the rool url in the 2.0.0rc please

Conflicts:

	config/routes.rb
This commit is contained in:
Gregory horion 2012-01-25 16:43:58 +01:00 committed by Mario Visic
parent c5692aeb2a
commit 0d5d2af27f
1 changed files with 2 additions and 4 deletions

View File

@ -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
end