diff options
author | Joris | 2016-03-29 23:46:47 +0200 |
---|---|---|
committer | Joris | 2016-03-29 23:46:47 +0200 |
commit | 76f8b85eb9f796d6df861a04f702ef5f48630795 (patch) | |
tree | c8b975df9854994cbbefff15908ad9bb728264bc /src/client/elm/Route.elm | |
parent | cc58377a48d13ef85cedb5ec0e19eb8b879dd497 (diff) |
Move logged data to LoggedIn component
Diffstat (limited to 'src/client/elm/Route.elm')
-rw-r--r-- | src/client/elm/Route.elm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/elm/Route.elm b/src/client/elm/Route.elm index dd435a6..8f8518f 100644 --- a/src/client/elm/Route.elm +++ b/src/client/elm/Route.elm @@ -9,17 +9,20 @@ import Effects exposing (Effects) import RouteParser exposing (..) type Route = - Home + Empty + | Home | User matchers : List (Matcher Route) matchers = - [ static Home "/" + [ static Empty "" + , static Home "/" , static User "/user" ] toPath : Route -> String toPath route = case route of + Empty -> "" Home -> "/" User -> "/user" |