There seems to be an issue with my images not showing up in the production environment (link here).
Here is a snippet of my code:
_header.html.erb
<%if action_name == 'index' %>
<div class="main_header_bg" id="main_head">
<% end %>
<header id='header'>
<div class="container">
<div class="logo">
<%= link_to image_tag('logo.png'), root_path%>
</div>
main.css
.main_header_bg {
background-image: url(/header_bg.jpg);
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
height: 718px;
production.log
ActionController::RoutingError (No route matches [GET] "/assets/images/header_bg.jpg"):
Directories where images are located:
- app/assets/images/
- public/assets/images/