Hi, I’m having a problem with the routing within my rails app. I’m
probably
doing something completely, obviously, and totally wrong, but for the
life
of me I can’t see it.
The short of it: My banner disappears if my url goes beyond displaying
the
controller name.
Case in point:
the banner displays correctly when viewing the home page
#Right click the banner and select show background image
#Banner url - everything is fine
http://localhost:3000/images/logo1.png
#Banner disappears when viewing an article however
http://localhost:3000/article/show/5
#Right click the banner and select show background image
#banner url - the article controller is embedded in the url
http://localhost:3000/article/images/logo1.png
To help simplify the problem I removed the css file and hard coded the
banner into the div:
Anyone have a good place for me to start looking?