diff --git a/Yesod/Helpers/Auth.hs b/Yesod/Helpers/Auth.hs index eb3c3ec0..0057966b 100644 --- a/Yesod/Helpers/Auth.hs +++ b/Yesod/Helpers/Auth.hs @@ -37,6 +37,7 @@ import qualified Data.Text as T import Data.Text.Encoding (decodeUtf8With) import Data.Text.Encoding.Error (lenientDecode) import Data.Monoid (mconcat) +import Web.Routes.Quasi (toSinglePiece, fromSinglePiece) data Auth = Auth diff --git a/Yesod/Helpers/Auth/Email.hs b/Yesod/Helpers/Auth/Email.hs index 4c225e59..94f9ac76 100644 --- a/Yesod/Helpers/Auth/Email.hs +++ b/Yesod/Helpers/Auth/Email.hs @@ -33,6 +33,7 @@ import Yesod.Core import Text.Hamlet (hamlet) import Control.Monad.IO.Class (liftIO) import Control.Monad.Trans.Class (lift) +import Web.Routes.Quasi (toSinglePiece, fromSinglePiece) loginR, registerR, setpassR :: AuthRoute loginR = PluginR "email" ["login"] diff --git a/yesod-auth.cabal b/yesod-auth.cabal index 97508c74..6e5ff119 100644 --- a/yesod-auth.cabal +++ b/yesod-auth.cabal @@ -1,5 +1,5 @@ name: yesod-auth -version: 0.4.0 +version: 0.4.0.1 license: BSD3 license-file: LICENSE author: Michael Snoyman, Patrick Brisbin @@ -9,7 +9,7 @@ category: Web, Yesod stability: Stable cabal-version: >= 1.6.0 build-type: Simple -homepage: http://docs.yesodweb.com/ +homepage: http://www.yesodweb.com/ flag ghc7 @@ -41,6 +41,7 @@ library , SHA >= 1.4.1.3 && < 1.5 , http-enumerator >= 0.6 && < 0.7 , aeson >= 0.3.2.2 && < 0.4 + , web-routes-quasi >= 0.7 && < 0.8 exposed-modules: Yesod.Helpers.Auth Yesod.Helpers.Auth.Dummy