Why are files in publyic done differently?


Hi all,

With engines, the general use case is to create your own local methods
to override any classes the engine creates. Why then are assets (ie
stylesheets/javascripts etc) treated differently? They’re copied to the
plugin_assets folder. You then have to refer to them manually with
:plugin => ‘…’ option.

I would have expected them to “just work” like the
controllers/views/models without any copying, and if you want, you can
put files with the same name in your local app’s public dir to override.
Just curious, why was it done the way it is? Is there an easy way to
make it so that plugin assets are copied directly to public?

-Andrew R.