on master help sign in
Remove renderBackendUrl
commitf6e96694b1eb8bc9c5953f194f0b5080cb20cd2f authorAli Abrar <aliabrar@gmail.com> dateWed 23 Jan 2019, 11:08 (8 years ago) parente2fc9ed
1 file changed−10
lib/route/src/Obelisk/Route.hs−10
lib/route/src/Obelisk/Route.hs−10
@@ -842,16 +842,6 @@ renderBackendRoute
842842 -> Text
843843renderBackendRoute enc = renderObeliskRoute enc . hoistR InL
844844
845−-- | Renders a full backend url, using the provided route prefix (typically the scheme and authority).
846−-- This is typically retrived from the "route" configuration in Obelisk applications. The prefix is
847−-- assumed not to have a trailing slash.
848−renderBackendUrl
849− :: Text -- ^ Base application route
850− -> Encoder Identity Identity (R (Sum br a)) PageName
851− -> R br
852− -> Text
853−renderBackendUrl prefix enc = (prefix <>) . renderBackendRoute enc
854−
855845-- | Renders a frontend route with the supplied checked encoder
856846renderFrontendRoute
857847 :: forall a fr.