mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
added rudimentary admin pages, started testing validation code
This commit is contained in:
@@ -22,4 +22,4 @@ block content
|
||||
|
||||
- if (session.user)
|
||||
- if (session.user.is_admin === true)
|
||||
a(href="/users/") Goto Admin Page
|
||||
a(href="/admin") Goto Admin Page
|
||||
Reference in New Issue
Block a user