Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle _preview as POST, not GET.

  • Loading branch information...
commit 73c43a2fc8f7cfb273f37a9852d69a2fa533775f 1 parent 45a9c7f
John MacFarlane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Gitit.hs
2  Gitit.hs
View
@@ -171,7 +171,7 @@ wikiHandlers :: [Handler]
wikiHandlers = [ dir "_index" [ handle GET indexPage ]
, dir "_activity" [ handle GET showActivity ]
, dir "_help" [ handle GET helpPage ]
- , dir "_preview" [ handle GET preview ]
+ , dir "_preview" [ handle POST preview ]
, dir "_search" [ handle POST searchResults ]
, dir "_register" [ handle GET registerUserForm,
handle POST registerUser ]
Please sign in to comment.
Something went wrong with that request. Please try again.