aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTony Semana <tony.semana@gmail.com>2012-01-17 15:17:43 -0500
committerTony Semana <tony.semana@gmail.com>2012-01-17 15:17:43 -0500
commit4eb17bb58d6701a0fd4f2ac7c30c43927c514323 (patch)
treef2d033d4fe7ea55d7fcd7ad1446e34c081aa82cf /config
parentf77592bc0533187b1463d999703163dee9b8393e (diff)
downloadrefinerycms-blog-4eb17bb58d6701a0fd4f2ac7c30c43927c514323.tar.gz
refinerycms-blog-4eb17bb58d6701a0fd4f2ac7c30c43927c514323.tar.bz2
refinerycms-blog-4eb17bb58d6701a0fd4f2ac7c30c43927c514323.zip
Fixed to show the word 'blog' only once in route
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 aa8151e..3521af2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -8,7 +8,7 @@ Rails.application.routes.draw do
match 'feed.rss', :to => 'posts#index', :as => 'rss_feed', :defaults => {:format => "rss"}
match 'categories/:id', :to => 'categories#show', :as => 'category'
match ':id/comments', :to => 'posts#comment', :as => 'comments'
- get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_blog_posts'
+ get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_posts'
get 'tagged/:tag_id(/:tag_name)' => 'posts#tagged', :as => 'tagged_posts'
end
end