Displaying 1 result from an estimated 1 matches for "cool_plugin".
Did you mean:
call_plugin
2006 Aug 06
0
Best practice: installing plugin assets in rake task or install.rb?
...r asking
and removed only when unchanged.
Also, I saw that several plugin READMEs tell the plugin user to include
JavaScript files in their views or layouts. This isn''t necessary as it
can be automated:
ActionView::Helpers::AssetTagHelper::register_javascript_include_default(''cool_plugin'')
After this, <%= javascript_include_tag :default %> will additionally
write out an include element for public/javascripts/cool_plugin.js
Michael
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/