diff options
author | Joris | 2016-06-03 20:27:16 +0200 |
---|---|---|
committer | Joris | 2016-06-03 20:27:16 +0200 |
commit | 8e3a7bf1cb83bbb6e3dcd54308eefa52a29cd679 (patch) | |
tree | d6ba0985a534a0e2e317b1edb0d4c999119d87ff /src/client/elm/Route.elm | |
parent | 3a88115d118f8256f3ff034dc359df42a9e4051c (diff) | |
download | budget-8e3a7bf1cb83bbb6e3dcd54308eefa52a29cd679.tar.gz budget-8e3a7bf1cb83bbb6e3dcd54308eefa52a29cd679.tar.bz2 budget-8e3a7bf1cb83bbb6e3dcd54308eefa52a29cd679.zip |
Migrate to elm 0.17
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" |