mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
FIX: ensures routing to / with query string works (#7859)
This commit is contained in:
parent
1bb258ab49
commit
f140c4d499
@ -441,7 +441,7 @@ const DiscourseURL = Ember.Object.extend({
|
||||
// The default path has a hack to allow `/` to default to defaultHomepage
|
||||
// via BareRouter.handleUrl
|
||||
let transition;
|
||||
if (path === "/") {
|
||||
if (path === "/" || path.substring(0, 2) === "/?") {
|
||||
router._routerMicrolib.updateURL(path);
|
||||
transition = router.handleURL(path);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user