diff --git a/yesod-default/Yesod/Default/Util.hs b/yesod-default/Yesod/Default/Util.hs index 2d7dcad6..1c5019dc 100644 --- a/yesod-default/Yesod/Default/Util.hs +++ b/yesod-default/Yesod/Default/Util.hs @@ -73,8 +73,8 @@ widgetFileReload x = combine "widgetFileReload" x , whenExists x True "lucius" luciusFileReload ] -widgetFileJsCss :: (String, FilePath -> Q Exp) -- ^ Css file extenstion and loading function. example: ("cassius", cassiusFileReload) - -> (String, FilePath -> Q Exp) -- ^ Css file extenstion and loading function. example: ("julius", juliusFileReload) +widgetFileJsCss :: (String, FilePath -> Q Exp) -- ^ JavaScript file extenstion and loading function. example: ("julius", juliusFileReload) + -> (String, FilePath -> Q Exp) -- ^ Css file extenstion and loading function. example: ("cassius", cassiusFileReload) -> FilePath -> Q Exp widgetFileJsCss (jsExt, jsLoad) (csExt, csLoad) x = combine "widgetFileJsCss" x [ whenExists x False "hamlet" whamletFile diff --git a/yesod/scaffold/Application.hs.cg b/yesod/scaffold/Application.hs.cg index 20a58b61..b843b0fc 100644 --- a/yesod/scaffold/Application.hs.cg +++ b/yesod/scaffold/Application.hs.cg @@ -21,6 +21,7 @@ import qualified Database.Persist.Store~importMigration~ import Network.HTTP.Conduit (newManager, def) -- Import all relevant handler modules here. +-- Don't forget to add new modules to your cabal file! import Handler.Home -- This line actually creates our YesodSite instance. It is the second half