5.5: Navbar Addition
Last updated
Last updated
In this module we'll add a Notes Route to our navbar.
Before we move on, let's make it easier to get to our notes by adding a tab in our Navbar.
Go to ElevenNote.WebMVC -> Views -> Shared -> _layout.cshtml
Add the Notes
route after Home
:
We can refactor this to only show the Notes
option if logged in:
Run the app
You should notice that the link to Notes
is only there once you've logged in