Engines work really well for this. If it''s for personal use, then all
you''d
need to do is add the engines plugin. Otherwise, you could have a File copy
script in your init.rb that copies it over every time the plugin is
launched, in other words, when the server starts up.
On 9/18/07, giorgio
<george.peverell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> Hi,
>
> I want to package some stuff as a plugin for convenience and it works
> fine.
>
> The only trouble is that there is some javascript and a css that are
> required and I have been copying them manually to the public folder.
>
> Is there a better way to deal with css and js files in plugins?
>
> Cheers
> George
>
>
> >
>
--
Nathaniel Steven Henry Brown
604-724-6624
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---