However, using luminus I dont have much options and everything should be setup correct already.
(def secured-routes
[(friend/authenticate user-routes user/friend-settings)
(friend/authenticate epics-routes user/friend-settings)
(friend/authenticate jira-routes user/friend-settings)
home-routes app-routes])
(def app
(app-handler
;; add your application routes here
secured-routes
;; add custom middleware here
:middleware [middleware/template-error-page
;middleware/log-request
]
;; add access rules here
:access-rules []
;; serialize/deserialize the following data formats
;; available formats:
;; :json :json-kw :yaml :yaml-kw :edn :yaml-in-html
:formats [:json-kw :edn]))
But it did not help neither -.-
Any Ideas?