aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a0c1f94..16f1228 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -32,8 +32,8 @@ if Rails.version < '3.0.0'
else
Refinery::Application.routes.draw do
scope(:path => 'blog', :module => 'blog') do
- root :to => 'posts#index'
- match 'feed.rss', :to => 'posts#index.rss', :as => 'rss_feed'
+ root :to => 'posts#index', :as => 'blog_root'
+ match 'feed.rss', :to => 'posts#index.rss', :as => 'blog_rss_feed'
match ':id', :to => 'posts#show', :as => 'blog_post'
match 'categories/:id', :to => 'categories#show', :as => 'blog_category'
match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments'