mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
Routes and support for sub-categories
This commit is contained in:
@ -196,6 +196,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/:parent_category/:category' => 'list#category', as: 'category_list_parent'
|
||||
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.
|
||||
|
Reference in New Issue
Block a user