--
You received this message because you are subscribed to the Google Groups "Compojure" group.
To post to this group, send email to comp...@googlegroups.com.
To unsubscribe from this group, send email to compojure+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compojure?hl=en.
(ANY "/login" request (authentication/form request))
(context "/admin"(wrap-authentication(routes(GET "/" [] (admin/index)))))
(def auth-routes [#"something"])(-> #'routes(wrap-authenticate auth-routes))
2012/5/25 Sean Bowman <pic...@gmail.com>
To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compojure?hl=en.
--
You received this message because you are subscribed to the Google Groups "Compojure" group.
To post to this group, send email to comp...@googlegroups.com.
To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
2012/5/25 Sean Bowman <pic...@gmail.com>
To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compojure?hl=en.
--
You received this message because you are subscribed to the Google Groups "Compojure" group.
To post to this group, send email to comp...@googlegroups.com.
To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
(->
(GET "/test-before" [] "Before")
(wrap-authentication(routes(ANY "/protected" request (authentication/form request))))
(GET "/test-after" [] "After"))
To view this discussion on the web visit https://groups.google.com/d/msg/compojure/-/eLMJkLl5HAAJ.
To post to this group, send email to comp...@googlegroups.com.
To unsubscribe from this group, send email to compojure+...@googlegroups.com.