1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

Change admin route prefix to #, not #!

This commit is contained in:
Alexander Skvortsov
2020-04-29 17:03:07 -04:00
committed by David Sevilla Martín
parent 990cdbc571
commit 8b6f9ddbfe

View File

@@ -33,6 +33,7 @@ export default class Admin extends Application {
m.mount(document.getElementById('header-secondary'), new HeaderSecondary());
m.mount(document.getElementById('admin-navigation'), new AdminNav());
m.route.prefix = '#';
super.mount();
// If an extension has just been enabled, then we will run its settings