On 22 December 2010 17:31, Mauro <[email protected]> wrote:
> On 22 December 2010 17:29, Frederick Cheung <[email protected]> 
> wrote:
>>
>> You could stick <%= yield :extra_js %> in the head section of the
>> layout and then use content_for :extra_js with the include for the
>> extra javascript file

Can I use content_for in a partial too?

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