diff --git a/yesod-core/Yesod/Internal/Core.hs b/yesod-core/Yesod/Internal/Core.hs index 3e48c9f2..4fedabeb 100644 --- a/yesod-core/Yesod/Internal/Core.hs +++ b/yesod-core/Yesod/Internal/Core.hs @@ -540,14 +540,14 @@ defaultErrorHandler (InternalError e) = [hamlet| $newline never
#{e} +
#{e}
|]
defaultErrorHandler (BadMethod m) =
applyLayout' "Bad Method"
[hamlet|
$newline never
Method Not Supported
-
Method "#{S8.unpack m}" not supported
+
Method #{S8.unpack m} not supported
|]
-- | Return the same URL if the user is authorized to see it.