Hide the Navigation Bar in Rails

Written by leonard-kanyesigye | Published 2020/04/17
Tech Story Tags: ruby-on-rails | rails | erb | bootstrap | html | web-development | front-end-development | coding

TLDR 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.via the TL;DR App

no story

Published by HackerNoon on 2020/04/17