Fix compile error
This commit is contained in:
parent
0382fa9888
commit
f6498069f7
|
@ -4,7 +4,8 @@
|
||||||
[markdown.core :refer [md-to-html-string]]
|
[markdown.core :refer [md-to-html-string]]
|
||||||
[ring.util.http-response :refer [content-type ok]]
|
[ring.util.http-response :refer [content-type ok]]
|
||||||
[ring.util.anti-forgery :refer [anti-forgery-field]]
|
[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 *identity*)
|
||||||
(declare ^:dynamic *app-context*)
|
(declare ^:dynamic *app-context*)
|
||||||
|
@ -20,7 +21,7 @@
|
||||||
(parser/render-file
|
(parser/render-file
|
||||||
template
|
template
|
||||||
(assoc params
|
(assoc params
|
||||||
:authorize-url (commiteth.github.core/authorize-url)
|
:authorize-url (github/authorize-url)
|
||||||
:page template
|
:page template
|
||||||
:csrf-token *anti-forgery-token*
|
:csrf-token *anti-forgery-token*
|
||||||
:servlet-context *app-context*)))
|
:servlet-context *app-context*)))
|
||||||
|
|
Loading…
Reference in New Issue