From dba58e4ecadf98c5b35af524046d8b118cb59fc2 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 16 Sep 2016 13:07:16 +0100 Subject: [PATCH] Fix for issue #8. --- README.md | 3 +-- src/smeagol/routes/wiki.clj | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bdfc865..126a9fc 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,7 @@ Smeagol is a simple Wiki engine inspired by [Gollum](https://github.com/gollum/g So at this stage Smeagol is a Wiki engine written in Clojure which uses Markdown as its text format, which does have user authentication, and which uses Git as its versioning and backup system. ## Status -Smeagol is now a fully working small Wiki engine, and meets my own immediate needs. There are some obvious -things which could be improved - see **TODO** list below - but it works now and doesn't seem to have any major problems. +Smeagol is now a fully working small Wiki engine, and meets my own immediate needs. ## Markup syntax Smeagol uses the Markdown format as provided by [markdown-clj](https://github.com/yogthos/markdown-clj), with the addition that anything enclosed in double square brackets, \[\[like this\]\], will be treated as a link into the wiki itself. diff --git a/src/smeagol/routes/wiki.clj b/src/smeagol/routes/wiki.clj index d95b1d9..e81662f 100644 --- a/src/smeagol/routes/wiki.clj +++ b/src/smeagol/routes/wiki.clj @@ -126,7 +126,7 @@ :page page :content (util/local-links (util/md->html file-name)) :editable true}))) - true (response/redirect (str "edit?page=" page))))) + true (response/redirect (str "/edit?page=" page))))) (defn history-page