On Wed, Dec 19, 2012 at 8:40 AM, Murtaza Husain < murtaza.hus...@sevenolives.com> wrote: > > (defroutes app-routes > (GET "/" [] (resp/redirect "/landing")) > (GET "/landing" [] (resp/file-response "landing.html" {:root "public"})) > (GET "/index" [] (index index-data)) > (route/files "/" {:root "public"}) > (route/not-found "Not Found")) > > (def mock-app > (-> app-routes > (friend/authenticate > {:allow-anon? false > :login-uri? "/landing" > :workflows [(openid/workflow :openid-uri "/openid" :realm " > http://invoize.com")]}))) > >
I'm not fully conversant with all the libraries, but don't you actually need to use mock-app somewhere? > (def app > (handler/site app-routes)) > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en