Begin adding rudimentary support for posting new entries to the site - needs to be prettier and a lot smarter, but it exists now

This commit is contained in:
Danielle McLean 2017-10-08 16:51:48 +11:00
parent b027125c2e
commit 4b7a8a7198
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
12 changed files with 91 additions and 0 deletions

View file

@ -6,6 +6,7 @@
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ViewPatterns #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Application
( getApplicationDev
@ -48,6 +49,7 @@ import System.Log.FastLogger (defaultBufSize, newStdoutLoggerSet,
-- Import all relevant handler modules here.
-- Don't forget to add new modules to your cabal file!
import Handler.Common
import Handler.Entries
import Handler.Home
-- This line actually creates our YesodDispatch instance. It is the second half