Hi Damo, file config/environments/production.rb:
config.serve_static_assets = true see: http://devcenter.heroku.com/articles/rails3 --Keenan On Mar 8, 2011, at 5:21 PM, Damo wrote: > Hi > Im a bit of a rails newbe and am having what is probably a simple > problem to fix but i just cant seem to sort it out. > > Ive a very simple rails 3 app deployed to heroku but images are not > being served, im getting a 404. When i look in my reroku logs i see > the following: > > 2011-03-08T13:49:00-08:00 app[web.1]: Started GET "/images/ > coachconductor.png" for 87.114.83.148 at Tue Mar 08 13:49:00-0800 2011 > 2011-03-08T13:49:00-08:00 app[web.1]: > 2011-03-08T13:49:00-08:00 app[web.1]: ActionController::RoutingError > (No route matches "/images/coachconductor.png"): > > i read this http://devcenter.heroku.com/articles/rails3 and set > config.serve_static_assets = true in my production.rb file but no > difference, is it a problem with my routing? > > by the way my images are in the public/images folder > > has anyone any ideas? > many thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
