From f6498069f7cde2462bf23033993b6a22a6990ff0 Mon Sep 17 00:00:00 2001 From: kagel Date: Mon, 22 Aug 2016 01:13:07 +0300 Subject: [PATCH] Fix compile error --- src/clj/commiteth/layout.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clj/commiteth/layout.clj b/src/clj/commiteth/layout.clj index 8e648da..7ba8c0f 100644 --- a/src/clj/commiteth/layout.clj +++ b/src/clj/commiteth/layout.clj @@ -4,7 +4,8 @@ [markdown.core :refer [md-to-html-string]] [ring.util.http-response :refer [content-type ok]] [ring.util.anti-forgery :refer [anti-forgery-field]] - [ring.middleware.anti-forgery :refer [*anti-forgery-token*]])) + [ring.middleware.anti-forgery :refer [*anti-forgery-token*]] + [commiteth.github.core :as github])) (declare ^:dynamic *identity*) (declare ^:dynamic *app-context*) @@ -20,7 +21,7 @@ (parser/render-file template (assoc params - :authorize-url (commiteth.github.core/authorize-url) + :authorize-url (github/authorize-url) :page template :csrf-token *anti-forgery-token* :servlet-context *app-context*)))