-- | Read in 
localRoute :: Read (Route master) => [String] -> GHandler sub master Inline
localRoute = maybe (return (Str "")) f . readMay . unwords where
  f = hamletToInline . (\x ->
#if GHC7
        [hamlet|
#else
        [$hamlet|
#endif
@x@|])
localRoute :: Read (Route master) => [String] -> GHandler sub master Inline
localRoute = maybe (return (Str "")) f . readMay . unwords where
  f = hamletToInline . (\x ->
#if GHC7
        [hamlet|
#else
        [$hamlet|
#endif
@x@|])
localRoute = maybe (return (Str "")) f . readMay . unwords where
  f = hamletToInline . (\x ->
#if GHC7
        [hamlet|
#else
        [$hamlet|
#endif
@x@|])