I’m creating a plugin that has a controller (WebController <
ActionController::Base) inside its lib directory (lib/web_controller.rb)
so you can access your mini ‘control-panel’ via the web but I’m having
big problems rendering partials, images, js, etc because Rails is
instead of my plugin’s dir.
The ideal situation would be to have all the plugin’s
images/js/css/views inside my plugin so it doesn’t ‘disturb’ your app’s
file structure, but I have no idea how to do that.
Any help would be really appreciated.
Thanks a lot.