Including templates/views in plugins


#1

Hi!

I’m writing a datagrid plugin and would like to render the datagrid
using a .rhtml template. However, I’d like to avoid placing this
template in app/views/shared, but it should reside somewhere within
vendor/plugins/datagrid/…

Any ideas?


#2

I’d consider doing this as an engine.
http://rails-engines.org

_Kevin