hi,
i want to display a image in the view:
<%= image_tag("#{RAILS_ROOT}/public/images/freinds/
user"+@users['id'].to_s+".png") %>
in the view i just see a small square to mark to place pf the
image,but the pic dont display.
when i follow the url of the pic i have this:
http://localhost:3000/home/delmed/servadmin/public/images/freinds/user3.png
and it say: No route matches "/home/delmed/servadmin/public/images/
freinds/user3.png"
the pic exesit in the folder.
what can i do please.
thanks.

-- 
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.

Reply via email to