From 8e3a7bf1cb83bbb6e3dcd54308eefa52a29cd679 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 3 Jun 2016 20:27:16 +0200 Subject: Migrate to elm 0.17 --- src/client/elm/Route.elm | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/client/elm/Route.elm (limited to 'src/client/elm/Route.elm') diff --git a/src/client/elm/Route.elm b/src/client/elm/Route.elm deleted file mode 100644 index 0ed4203..0000000 --- a/src/client/elm/Route.elm +++ /dev/null @@ -1,31 +0,0 @@ -module Route - ( Route(..) - , matchers - , toPath - ) where - -import Effects exposing (Effects) - -import RouteParser exposing (..) - -type Route = - Empty - | Home - | Income - | Stat - -matchers : List (Matcher Route) -matchers = - [ static Empty "" - , static Home "/" - , static Income "/income" - , static Stat "/statistics" - ] - -toPath : Route -> String -toPath route = - case route of - Empty -> "" - Home -> "/" - Income -> "/income" - Stat -> "/statistics" -- cgit v1.2.3