I have a search box that I only want to render on particular pages through the navigation section in my application.html.erb file.

How do I set exceptions? Is this done through the main application controller?