make the tag_name optional for crazy languages

This commit is contained in:
Joe Sak 2011-06-30 09:37:55 -05:00
parent b5727f78e1
commit 7fa3b30509

View file

@ -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