diff options
author | Joris | 2016-04-05 13:39:48 +0200 |
---|---|---|
committer | Joris | 2016-04-05 13:39:48 +0200 |
commit | edca79a7e2bfed1a08de780cc6ab7eac430ef950 (patch) | |
tree | 02f794910924f1ca0114d08a254deed98388c70f /src/client/elm/Route.elm | |
parent | d19b69eeeb0c24ee7e4a75b0da32eefba1d43928 (diff) |
Add a statistics empty page
Diffstat (limited to 'src/client/elm/Route.elm')
-rw-r--r-- | src/client/elm/Route.elm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/elm/Route.elm b/src/client/elm/Route.elm index 8f8518f..0ed4203 100644 --- a/src/client/elm/Route.elm +++ b/src/client/elm/Route.elm @@ -11,13 +11,15 @@ import RouteParser exposing (..) type Route = Empty | Home - | User + | Income + | Stat matchers : List (Matcher Route) matchers = [ static Empty "" , static Home "/" - , static User "/user" + , static Income "/income" + , static Stat "/statistics" ] toPath : Route -> String @@ -25,4 +27,5 @@ toPath route = case route of Empty -> "" Home -> "/" - User -> "/user" + Income -> "/income" + Stat -> "/statistics" |