mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
BUGFIX: allow top to be the homepage
This commit is contained in:
parent
35634fcbc5
commit
2a79ed97ed
1 changed files with 2 additions and 0 deletions
|
@ -297,5 +297,7 @@ Discourse::Application.routes.draw do
|
|||
end
|
||||
# special case for categories
|
||||
root to: "categories#index", constraints: HomePageConstraint.new("categories"), :as => "categories_index"
|
||||
# special case for top
|
||||
root to: "list#top", constraints: HomePageConstraint.new("top"), :as => "list_top"
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue