Skip to content

Commit

Permalink
Fix README rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
tavlima committed Sep 9, 2016
1 parent 06feacc commit 0bd46a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ MAINTAINER Thiago Lima <[email protected]>

ADD target/reward-system-standalone.jar /reward-system/app.jar
ADD resources/input.txt /reward-system/input.txt
ADD resources/README.md /reward-system/README.md

EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion src/com/github/tavlima/nubank/reward/rest/controller.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(resp/not-found "Not Found"))

(def readme-file
(io/file (io/resource "README.md")))
(io/resource "README.md"))

(defn home-page []
(resp/response (md/md-to-html-string (slurp readme-file))))
Expand Down

0 comments on commit 0bd46a8

Please sign in to comment.