Thursday, December 16, 2010

[Rails] help with favicon_link_tag undefined

What is the rails way to do this? I'm using Rails 2.3.10

Error is:
undefined local variable or method `favicon_link_tag' for
#<ActionView::Base:0xb6e57034>

This module is needed I guess:
ActionView::Helpers::AssetTagHelper

Here is what I did:
app/views/layouts/application.html.haml
!!! 5
%html
%head
%title App1 - Rails Way
= favicon_link_tag
%body
#content
= yield

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


Real Estate