diff options
author | Joe Sak <joe@joesak.com> | 2011-06-30 09:37:55 -0500 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-06-30 09:37:55 -0500 |
commit | 7fa3b305098080c7478a1c176efa8edbe9aa7eda (patch) | |
tree | af3345613f637b54de5ecbae36bbe5581771608f /config | |
parent | b5727f78e13579835b86cda0472a4632556b00b8 (diff) | |
download | refinerycms-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.rb | 2 |
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 |