From 2a79ed97ede324c46bf5cd86d19b4dc1a319376e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 3 Jan 2014 19:36:49 +0100 Subject: [PATCH] BUGFIX: allow top to be the homepage --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index bcead03374..8594520fb3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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