All the examples I see, AWDWR, the forums, have the use of
"stylesheet_link_tag" in the <head> section of the template.
Similarly for javascript.
But if my template is including partials for actions, those action might
require a stylesheet or javascript that is specific only to them.
For example, the tinyMCE javascript isn''t needed in index or show or
delete, but is needed in edit.
Is there way in the action-specific partial to specify an asset tag
that somehow magically gets rendered in the <head> ?
--
The state can''t give you free speech, and the state can''t take
it away.
You''re born with it, like your eyes, like your ears. Freedom is
something you assume, then you wait for someone to try to take it away.
The degree to which you resist is the degree to which you are free...
--Utah Phillips
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---