Support for "no subcategories"

This commit is contained in:
Robin Ward
2013-12-13 17:18:28 -05:00
parent ccd0f9c371
commit acf262b631
14 changed files with 98 additions and 35 deletions

View File

@ -200,6 +200,7 @@ Discourse::Application.routes.draw do
get 'category/:category.rss' => 'list#category_feed', format: :rss, as: 'category_feed'
get 'category/:category' => 'list#category', as: 'category_list'
get 'category/:category/none' => 'list#category_none', as: 'category_list_none'
get 'category/:category/more' => 'list#category', as: 'category_list_more'
# We've renamed popular to latest. If people access it we want a permanent redirect.