I added an image to the /app/assets/images folder, logo-small.jpg
Then I added this line to my view
= link_to image_tag('logo-small.jpg'), root_path, :class => 'brand'
Then I precompiled,
rake assets:precompile RAILS_ENV=production
git add, git commit and git push heroku master. the push works.
I'm still getting the error
ActionView::Template::Error (logo-small.jpg isn't precompiled):
why?
EDIT: I've tried other images, they're fine. Heroku has an issue with logo and logo-small, but not with other images. wtf??
never found out what it was. switched the format from jpg to png and it worked.