mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
views/paging: add endless pager
This commit is contained in:
@ -39,7 +39,14 @@ class UsersController {
|
||||
'/user/:name/delete',
|
||||
(ctx, next) => { this.loadUserRoute(ctx, next); },
|
||||
(ctx, next) => { this.deleteUserRoute(ctx, next); });
|
||||
page.exit('/user/', (ctx, next) => { this.user = null; });
|
||||
page.exit(/\/users\/.*/, (ctx, next) => {
|
||||
pageController.stop();
|
||||
next();
|
||||
});
|
||||
page.exit(/\/user\/.*/, (ctx, next) => {
|
||||
this.user = null;
|
||||
next();
|
||||
});
|
||||
}
|
||||
|
||||
listUsersRoute(ctx, next) {
|
||||
|
Reference in New Issue
Block a user