blob: a9c2f69da5a5863b3339c80dd48b166b724afff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{-# LANGUAGE TemplateHaskell #-}
module Server.Frontend (Frontend(..), Handler) where
import Server.Frontend.Gtfs
import Server.Frontend.OnboardUnit
import Server.Frontend.Routes
import Server.Frontend.SpaceTime
import Server.Frontend.Ticker
import Server.Frontend.Tickets
import Yesod
import Yesod.Auth
mkYesodDispatch "Frontend" resourcesFrontend
getRootR :: Handler Html
getRootR = redirect TicketsR
|