Skip to content

Instantly share code, notes, and snippets.

@xeqi
Created April 21, 2010 16:41
Show Gist options
  • Save xeqi/374076 to your computer and use it in GitHub Desktop.
Save xeqi/374076 to your computer and use it in GitHub Desktop.
(defroutes admin-routes
(GET "/admin" request (admin-index request)))
(wrap! admin-routes :require-admin)
(defroutes app
(GET "/" request (index request))
admin-routes)
(wrap! app :log-analytics)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment