Below is the code snippet for the application.html.erb file:
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand"><img src="info.png" alt="Mountain View"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<form class="navbar-form navbar-right">
<ul class="nav navbar-nav" >
<li class="color-me">
<a href="#" style="color:red">
Contact Us
</a>
</li>
<li class="color-me2" style="color:white">
<%= link_to "About", root_path %>
</li>
</ul>
</form>
</div><!--/.navbar-collapse -->
</div>
</nav>
The navigation bar is visible across all views, however, the image within the <a> tag disappears when navigating to a URL other than the root URL. I have tried placing the image in both the /public and /assets/images directories.