aboutsummaryrefslogtreecommitdiff
path: root/lib/Server/Frontend.hs
blob: cec4fa7aa859ff05aa610f249b9d68a9bbe74c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{-# 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.Tickets

import           Yesod
import           Yesod.Auth


mkYesodDispatch "Frontend" resourcesFrontend


getRootR :: Handler Html
getRootR = redirect TicketsR