This commit introduces a couple of changes:
Changes the behaviour of HighVoltage::PagesController to use method_missing() instead of show(), and changes the route to use the second URL parameter as the :action parameter. This allows for the introduction of the :caches_page parameter in the controller, which allows us to cache views created by high_voltage.
Introduces module accessors and a setup method to the high_voltage module and using them in the PagesController. This allows us to change the content path to use (pages/ by default), the layout directive to use ("application" by default), and the caches_page arguments (empty list by default).
Enable high_voltage config through an initializer, and provide a hand…
…ful of settings
I've made some further changes, so I'll open a new pull request with the additional commits shortly. Closing this one.
If you do, can you open one issue/pull-request for each specific thing you want to change?
Sure. I already opened pull request #21 that had everything included, but I'll break down the commits later this week and open pull requests for each of them if you'd like.