aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-06-30 09:37:55 -0500
committerJoe Sak <joe@joesak.com>2011-06-30 09:37:55 -0500
commit7fa3b305098080c7478a1c176efa8edbe9aa7eda (patch)
treeaf3345613f637b54de5ecbae36bbe5581771608f /config
parentb5727f78e13579835b86cda0472a4632556b00b8 (diff)
downloadrefinerycms-blog-7fa3b305098080c7478a1c176efa8edbe9aa7eda.tar.gz
refinerycms-blog-7fa3b305098080c7478a1c176efa8edbe9aa7eda.tar.bz2
refinerycms-blog-7fa3b305098080c7478a1c176efa8edbe9aa7eda.zip
make the tag_name optional for crazy languages
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 b07fe05..aed7e77 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,7 +6,7 @@
match 'categories/:id', :to => 'categories#show', :as => 'blog_category'
match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments'
get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_blog_posts'
- get 'tagged/:tag_id/:tag_name' => 'posts#tagged', :as => 'tagged_posts'
+ get 'tagged/:tag_id(/:tag_name)' => 'posts#tagged', :as => 'tagged_posts'
end
scope(:path => 'refinery', :as => 'admin', :module => 'admin') do