Skip to content

Commit

Permalink
Merge pull request #81 from atomkirk/patch-1
Browse files Browse the repository at this point in the history
Update 03-pages.md
  • Loading branch information
ryan-haskell authored May 8, 2021
2 parents 464d5d2 + b98a2c7 commit 4f23cc5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/public/content/guide/03-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,16 @@ Page.sandbox
}

-- protected
Page.protected.sandbox
{ init : User -> Model
, update : User -> Msg -> Model -> Model
, view : User -> Model -> View Msg
}
Page.protected.sandbox :
User ->
{ init : Model
, update : Msg -> Model -> Model
, view : Model -> View Msg
}
```

When you are ready for user authentication, you can learn more about using `Page.protected` in the [authentication guide](/examples/04-authentication).

---

__Next up:__ [Requests](./04-requests)
__Next up:__ [Requests](./04-requests)

0 comments on commit 4f23cc5

Please sign in to comment.