Fixed file reference bug in layout.erb.