Created
August 11, 2009 23:04
-
-
Save burke/166172 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
(ns application.config.routes | |
(:use skyway)) | |
;(require 'application.controllers.login) | |
(def my-ns *ns*) | |
(defroutes application-routes | |
(GET "/login" (binding [*ns* my-ns] | |
(require 'application.controllers.login) | |
(application.controllers.login/invoke))) | |
(ANY "*" (page-not-found))) | |
;; Causes: java.lang.ClassNotFoundException: application.controllers.login | |
;; Works fine if I uncomment line 4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment