dimanche 25 septembre 2016

Ruby / Rails - Conditional Statement to hide certain layout elements (navbar/footer) on root_path

QUESTION: For production, what would be an efficient conditional statement to hide certain layout elements (navbar/footer) on root_path?

I posted a similar question here. I apologize if it seems duplicated but this question is different in that I specifically want a conditional statement to remove a portion of the layout (not the entire file)

I hope this all makes sense, dealing with a noob here

Aucun commentaire:

Enregistrer un commentaire