Skip to content

Commit

Permalink
Merge pull request #3 from elabeca/patch-1
Browse files Browse the repository at this point in the history
corrected typo by formatting body closing tag from "<body" to "</body>"
  • Loading branch information
Philipp Meier committed Mar 13, 2012
2 parents 04cabd8 + b13f100 commit 224dd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/compojure_rest/demo.clj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(context "/users/:id" [id]
(ANY "/foo" [] (resource
:get {"text/html"
(format "<body>User is %s</body" id)}
(format "<body>User is %s</body>" id)}
)))
(route/not-found "<h1>Page not found</h1>"))

Expand Down

0 comments on commit 224dd28

Please sign in to comment.