Re: [Rails] Changing default image_tag folder
On 15 October 2010 16:45, Nick Bourré <lists@ruby-forum.com> wrote:
> Is it possible to change the default image_tag folder?
Are you sure you need to do this? Can you explain the reason.
image_tag will take a full path so
image_tag "myicon.png"
will use /images/myincon.png"
whereas
image_tag "/icons/myicon.png"
will use /icons/myicon.png
Further examples at
http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html
Colin
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home