X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka%2FResource%2FObject.hs;h=8365381932b7a41fb8460c8c1f1676d1b991a917;hb=88747f2;hp=5f5b5c51625c97c6e7524ec8336ca05f379c0432;hpb=fcddebcc3cc02ae8d1904b9338334d538019e74a;p=Rakka.git diff --git a/Rakka/Resource/Object.hs b/Rakka/Resource/Object.hs index 5f5b5c5..8365381 100644 --- a/Rakka/Resource/Object.hs +++ b/Rakka/Resource/Object.hs @@ -3,13 +3,12 @@ module Rakka.Resource.Object ( resObject ) where - import Network.HTTP.Lucu -import Network.HTTP.Lucu.Utils import Rakka.Environment import Rakka.Page import Rakka.Storage import Rakka.SystemConfig +import System.FilePath.Posix resObject :: Environment -> ResourceDef @@ -25,7 +24,7 @@ resObject env } where toPageName :: [String] -> PageName - toPageName = decodePageName . joinWith "/" + toPageName = UTF8.decodeString . joinPath handleGet :: Environment -> PageName -> Resource ()