I've set a logo for my rails application and it shows up on every static page. But if I sign in, the newly created link
<header class="navbar navbar-fixed-top navbar-inverse">
<a href='/'><img src="image1.png" alt='image'></a>
<%= link_to "Cherry Pie", root_path, id: "logo" %>
If the image in the public folder you can use image_tag for view on every page ;
<%= image_tag "/../image1.png" %>
More about image_tag here.