Вопрос

I'm developing a Rails-3.1 Mountable Engine that would be mounted in a rails application, the engine provide it's own assets and views of course but I would like to overload some the files.

Example:

Let's consider a mountable blogging engine, which would be mounted in whatever application to get the blogging system but the engine should look exactly like the website so I would like to overload some asset files as well as some of the views (like the _header and _footer partials rendered in the layout)

Is that possible with mountable engines?

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top