diff options
author | Joris | 2016-03-28 17:51:14 +0200 |
---|---|---|
committer | Joris | 2016-03-28 17:51:14 +0200 |
commit | 166cd04e4b28770ede854dafc9ae30eae64102fe (patch) | |
tree | 2245a31243a165acc6f7355534da44cfd17e6038 /src/client/elm/Model.elm | |
parent | b0d80a5458d7ba4546e5f01f5b6398ea6d23f981 (diff) |
Create an empty but reachable user page
Diffstat (limited to 'src/client/elm/Model.elm')
-rw-r--r-- | src/client/elm/Model.elm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/elm/Model.elm b/src/client/elm/Model.elm index 3d2eb2b..e006e97 100644 --- a/src/client/elm/Model.elm +++ b/src/client/elm/Model.elm @@ -6,6 +6,9 @@ module Model import Time exposing (Time) import Json.Decode as Json +import TransitRouter +import Route exposing (..) + import Model.View exposing (..) import Model.Translations exposing (..) import Model.Conf exposing (..) @@ -19,6 +22,7 @@ type alias Model = , currentTime : Time , translations : Translations , conf : Conf + , transitRouter : TransitRouter.TransitRouter Route } initialModel : Time -> String -> String -> Maybe String -> Model @@ -36,4 +40,5 @@ initialModel initialTime translations conf mbSignInError = case Json.decodeString confDecoder conf of Ok conf -> conf Err _ -> { currency = "" } + , transitRouter = TransitRouter.empty Home } |