hledger/hledger-web/Hledger/Web/Settings/StaticFiles.hs
2011-09-12 23:37:55 +00:00

19 lines
534 B
Haskell

{-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies #-}
{-|
This module exports routes for all the files in the static directory at
compile time, allowing compile-time verification that referenced files
exist. However, any files added during run-time can't be accessed this
way; use their FilePath or URL to access them.
This is a separate module to satisfy template haskell requirements.
-}
module Hledger.Web.Settings.StaticFiles where
import Yesod.Static
import Hledger.Web.Settings (staticDir)
$(staticFiles staticDir)