summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-21 11:26:18 +0100
committerhukl <contact@smyck.org>2009-02-21 11:26:18 +0100
commit88666df9fd21d612ea6d713bacf137584acf7f40 (patch)
tree01748f7600b83d9afd72fc8aa84386b86de64962
parentce3b464e48648f5f896300cf980dad000fb8094b (diff)
changed the routes - not sure if this is the way
to go - but it seems to work for now
-rw-r--r--config/routes.rb6
1 files 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|
9 map.resources :users 9 map.resources :users
10 map.resource :session 10 map.resource :session
11 11
12 map.connect ':controller/:action/:id'
13 map.connect ':controller/:action/:id.:format'
14
12 map.connect '/*page_path', 15 map.connect '/*page_path',
13 :controller => 'content', :action => 'render_page', 16 :controller => 'content', :action => 'render_page',
14 :requirements => {:language => /\w{2}/} 17 :requirements => {:language => /\w{2}/}
15
16 map.connect ':controller/:action/:id'
17 map.connect ':controller/:action/:id.:format'
18end 18end