PgHeroAssets
This gem is for you if you want to be able to run PgHero without the asset pipeline or in Rails' api mode.
It serves all required PgHero assets from a custom middleware and disables the api mode check.
Caveats
- This might break with PgHero updates, though I don't consider it likely so its not version-locked yet.
Installation / usage
Add pghero_assets
to your Gemfile.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jaynetics/pghero_assets.
License
The gem is available as open source under the terms of the MIT License.