From 88666df9fd21d612ea6d713bacf137584acf7f40 Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 21 Feb 2009 11:26:18 +0100 Subject: changed the routes - not sure if this is the way to go - but it seems to work for now --- config/routes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b258fb2..6365186 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,10 +9,10 @@ ActionController::Routing::Routes.draw do |map| map.resources :users map.resource :session + map.connect ':controller/:action/:id' + map.connect ':controller/:action/:id.:format' + map.connect '/*page_path', :controller => 'content', :action => 'render_page', :requirements => {:language => /\w{2}/} - - map.connect ':controller/:action/:id' - map.connect ':controller/:action/:id.:format' end -- cgit v1.3