Hi all, I'm just toying around with Caribou. I successfully created the models of my toy app, and now I started defining routes, pages, and templates. I started with this:
--8<---------------cut here---------------start------------->8--- (def routes [["/" :home [["login" :login []]]]]) (def pages {:home {:GET {:controller 'home :action 'home :template "home.html"}} :login {:GET {:controller 'login :action 'login :template "login.html"}}}) --8<---------------cut here---------------end--------------->8--- And wow, indeed http://localhost:33333/login now shows the page generated by filling out the login.html template like my login action said. However, that has also broken the Admin login page. Visiting http://localhost:33333/_admin/login now also shows my custom login page, but the template variables aren't filled out (because that's rendered by the admin controller, not my controller). So it seems that template names have to be unique and in order not to interfere with Admin templates. Is that intended? I guess no... For the time being, I'll prefix my custom templates with the project name in order to have them unique. Bye, Tassilo -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.