Hide the Navigation Bar in Railsby@leonard-kanyesigye
1,260 reads
1,260 reads

Hide the Navigation Bar in Rails

by Leonard Kanyesigye2mApril 17th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Recently I was working on a project in RoR and I realized I wanted to show the navigation bar and footer on some pages and nothing on others. This article assumes you already have an application running, and already have a sign-up page designed. The next step is to make sure we make the navbar disappear on signup and signing pages, but show up on other pages. There are various ways to do this but in this article, I highlight just 2 that worked for me.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Hide the Navigation Bar in Rails
Leonard Kanyesigye HackerNoon profile picture
Leonard Kanyesigye

Leonard Kanyesigye

@leonard-kanyesigye

L O A D I N G
. . . comments & more!

About Author

Leonard Kanyesigye HackerNoon profile picture
Leonard Kanyesigye@leonard-kanyesigye

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite