FIX: Various bugs with Category breadcrumbs

This commit is contained in:
Robin Ward
2013-10-25 15:23:29 -04:00
parent 4e46d91b8d
commit e9c4465ec7
23 changed files with 1232 additions and 173 deletions

View File

@ -210,8 +210,10 @@ Discourse::Application.routes.draw do
get "#{filter}" => "list##{filter}"
get "#{filter}/more" => "list##{filter}"
get "category/:category/#{filter}" => "list##{filter}"
get "category/:category/#{filter}/more" => "list##{filter}"
get "category/:category/l/#{filter}" => "list##{filter}"
get "category/:category/l/#{filter}/more" => "list##{filter}"
get "category/:parent_category/:category/l/#{filter}" => "list##{filter}"
get "category/:parent_category/:category/l/#{filter}/more" => "list##{filter}"
end
get 'category/:parent_category/:category' => 'list#category', as: 'category_list_parent'