yesod/scaffold/StaticFiles_hs.cg
Michael Snoyman 66ff096898 Version bumps
2011-03-31 22:56:34 +02:00

12 lines
483 B
Plaintext

{-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies #-}
module StaticFiles where
import Yesod.Helpers.Static
-- | This generates easy references to files in the static directory at compile time.
-- The upside to this is that you have compile-time verification that referenced files
-- exist. However, any files added to your static directory during run-time can't be
-- accessed this way. You'll have to use their FilePath or URL to access them.
$(staticFiles "static")