Merge pull request #130 from oscarpica/master
Comment rewording on 'joinPath'
This commit is contained in:
commit
f6b59159e4
@ -205,8 +205,9 @@ class RenderRoute (Route a) => Yesod a where
|
|||||||
where
|
where
|
||||||
corrected = filter (not . TS.null) s
|
corrected = filter (not . TS.null) s
|
||||||
|
|
||||||
-- | Join the pieces of a path together into an absolute URL. This should
|
-- | Builds an absolute URL by concatenating the application root with the
|
||||||
-- be the inverse of 'splitPath'.
|
-- pieces of a path and a query string, if any.
|
||||||
|
-- Note that the pieces of the path have been previously cleaned up by 'cleanPath'.
|
||||||
joinPath :: a
|
joinPath :: a
|
||||||
-> TS.Text -- ^ application root
|
-> TS.Text -- ^ application root
|
||||||
-> [TS.Text] -- ^ path pieces
|
-> [TS.Text] -- ^ path pieces
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user