I have a Rails application that is using multiple gems. Each gem provides assets, that are added to the Rails asset path:
- main app
- admin engine with customised forms
- wysiwyg engine
I want to override some of the partials provided by the wysiwyg engine inside the admin engine. I know that I need to affect the order that each engine adds its asset paths to the ActionView lookup context used by render
for partial resolution, but I'm not sure how to do this.