aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Route.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Route.elm')
-rw-r--r--src/client/elm/Route.elm9
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"