Hi all,
I'm having trouble getting images to show up on the browser. I added an
image to the public/images directory in Textmate, however all I get is
the image alt information when I refresh my browser. This is the image
tag code copied and pasted from my layout file:
<%= image_tag("kanagawa.jpg") %>
This is the error I get in the server log:
Processing ApplicationController#index (for XXX.X.X.X at 2009-11-08
15:50:00) [GET]
ActionController::RoutingError (No route matches "/images/kanagawa.jpg"
with {:method=>:get}):
Rendering rescues/layout (not_found)
In addition (oddly), whenever I close Textmate out and reopen it, the
image file I inserted in public/images is gone. I couldn't find anything
helpful from google when I entered the information.
I appreciate any help.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---