Skip to content

Commit 8a191ae

Browse files
authored
Update admin_routes.v
1 parent 662dc47 commit 8a191ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/admin_routes.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const (
66
admin_users_per_page = 30
77
)
88

9+
// TODO move to admin controller
10+
911
['/admin/settings']
1012
pub fn (mut app App) admin_settings() vweb.Result {
1113
if !app.is_admin() {

0 commit comments

Comments
 (0)