mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client: refactor linking and routing
Print all links through new uri.js component Refactor the router to use more predictable parsing Fix linking to entities with weird names (that contain slashes, + etc.)
This commit is contained in:
@ -22,7 +22,7 @@ class SettingsController {
|
||||
};
|
||||
|
||||
module.exports = router => {
|
||||
router.enter('/settings', (ctx, next) => {
|
||||
router.enter(['settings'], (ctx, next) => {
|
||||
ctx.controller = new SettingsController();
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user