diff options
Diffstat (limited to 'src/client/elm/Route.elm')
-rw-r--r-- | src/client/elm/Route.elm | 31 |
1 files changed, 0 insertions, 31 deletions
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" |