Including templates/views in plugins

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?

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

_Kevin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs