From 56e1df622f8cb6fb558b83fc4d2836ad0aece7d7 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 8 Feb 2009 14:06:03 +0100 Subject: added nodes controller and made it a resource. since the node is the proxy for the pages behind it, it makes sense to operate on nodes rather than on the pages themselves. --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 15ce385..c436b00 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,6 @@ ActionController::Routing::Routes.draw do |map| map.resources :pages + map.resources :nodes map.connect ':language/*page_path', -- cgit v1.3