summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-11-14 10:42:21 +0100
committerhukl <contact@smyck.org>2009-11-14 10:42:21 +0100
commit14e3a355fb4c68cc6ab8d123e107e65b8511bd6f (patch)
treed7f32a51cf9c42e47bcb84f063db69b26310fb85 /config
parentf713926e7174ca2271b5ab29600e9475a976d69e (diff)
nodes :show now also includes a direct link to to the live version of the node. Additionally, I changed the default route to a named route so it is much easier to generate proper public paths and urls.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 9b5980b..c2590bd 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -33,6 +33,6 @@ ActionController::Routing::Routes.draw do |map|
33 map.connect 'galleries/*page_path', 33 map.connect 'galleries/*page_path',
34 :controller => 'content', :action => 'render_gallery' 34 :controller => 'content', :action => 'render_gallery'
35 35
36 map.connect '/*page_path', 36 map.content '/*page_path',
37 :controller => 'content', :action => 'render_page' 37 :controller => 'content', :action => 'render_page'
38end 38end