From edca79a7e2bfed1a08de780cc6ab7eac430ef950 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 5 Apr 2016 13:39:48 +0200 Subject: Add a statistics empty page --- src/client/elm/Route.elm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/client/elm/Route.elm') 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" -- cgit v1.2.3