Created
April 21, 2010 16:41
-
-
Save xeqi/374076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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