Hello folks,
I am creating a simple RoR plugin, mostly to teach myself the art of
plugin-coding.
The plugin is mostly a helper plugin, generating HTML code.
Now I would like to include a CSS stylesheet ; the idea is to supply a
"my_plugin_css" helper to print a link to the css stylesheet in the
template head, but if there is a way to auto-load a css (that is,
withoutb the plugin user intervention) I'd be happy to use it.
Anyway, my main problem now is telling rails to load my css file as if
it was in the usual "plublic/stylesheet" folder.
Any suggestion?
Davide
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to