mirror of
https://github.com/discourse/discourse.git
synced 2025-09-10 01:42:47 +08:00
FEATURE: New "Categories and Top" homepage style
Select this option if you want to show top topics on the homepage instead of latest topics.
This commit is contained in:
parent
5e323139ae
commit
31e3bf6d8d
14 changed files with 147 additions and 83 deletions
|
@ -542,6 +542,7 @@ Discourse::Application.routes.draw do
|
|||
put "category/:category_id/slug" => "categories#update_slug"
|
||||
|
||||
get "categories_and_latest" => "categories#categories_and_latest"
|
||||
get "categories_and_top" => "categories#categories_and_top"
|
||||
|
||||
get "c/:id/show" => "categories#show"
|
||||
get "c/:category_slug/find_by_slug" => "categories#find_by_slug"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue