I’m looking for 3 areas to work as dynamic assets:
When I say dynamic, I mean that they will be dynamic through
controller/models. I have been working through approx. 12 hours of
searches to satisfy my answer to this question but am not finding much
The closest things I’ve found enabling this are use of config for assets
(which is normally done for CDNs), or monkey-patching the tag helpers,
which still won’t give me what I want.
The reason why I want to do this is to provide for themes. As an
example, if your rails app contained 20 different themes, a theme would
wouldn’t want to have to change your theme through an initializer and
stop/restart your app for it to work. I’ve already done a lot of leg
work with getting my themes into the MVC structure.
I just need the ability to change the three paths above using either a
custom call to a module, or through the application controller.
Can it be done and if so, how?