Skip to content

Commit

Permalink
Revert "Removed decString - happstack now decodes the rqPaths."
Browse files Browse the repository at this point in the history
This reverts commit a61a83d.
  • Loading branch information
jgm committed Apr 20, 2012
1 parent e7c0d75 commit 10521a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/Gitit/Framework.hs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ unlessNoDelete responder fallback = withData $ \(params :: Params) -> do

-- | Returns the current path (subtracting initial commands like @\/_edit@).
getPath :: ServerMonad m => m String
getPath = liftM (intercalate "/" . rqPaths) askRq
getPath = liftM (fromJust . decString True . intercalate "/" . rqPaths) askRq

-- | Returns the current page name (derived from the path).
getPage :: GititServerPart String
Expand Down

0 comments on commit 10521a8

Please sign in to comment.