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:
Simon Brooke 2018-08-06 09:29:56 +01:00
parent 1069984849
commit 130d12975d
4 changed files with 4 additions and 5 deletions

View file

@ -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"