From 7fa3b305098080c7478a1c176efa8edbe9aa7eda Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Thu, 30 Jun 2011 09:37:55 -0500 Subject: make the tag_name optional for crazy languages --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3