FIX: don’t break browser history on dashboard visit (#6186)

This commit is contained in:
Joffrey JAFFEUX
2018-07-26 14:59:28 -04:00
committed by GitHub
parent a74024b1c9
commit 330cf78c83
10 changed files with 16 additions and 24 deletions

View File

@ -236,9 +236,11 @@ Discourse::Application.routes.draw do
get "version_check" => "versions#show"
get "dashboard-next" => "dashboard_next#index"
get "dashboard-old" => "dashboard#index"
get "dashboard" => "dashboard_next#index"
get "dashboard/general" => "dashboard_next#general"
get "dashboard/moderation" => "dashboard_next#moderation"
get "dashboard-old" => "dashboard#index"
resources :dashboard, only: [:index] do
collection do