Safety commit
Ran out of electricity last night when I'd almost but not quite got creation working properly. Frustrating! I don't have much electricity this morning so I'm pushing this up to GitHub for safety.
This commit is contained in:
parent
1069984849
commit
130d12975d
4 changed files with 4 additions and 5 deletions
|
|
@ -22,7 +22,7 @@
|
|||
user (-> request :session :user)
|
||||
roles (if
|
||||
user
|
||||
(db-core/list-roles-by-canvasser db-core/*db* {:id (:id user)}))]
|
||||
(db-core/list-roles-by-canvasser db-core/*db* user))]
|
||||
(log/info (str "Roles routing page; user is " user "; roles are " roles))
|
||||
(cond
|
||||
roles (layout/render "roles.html"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue