Spark Plugs
A Rails engine for semi-static pages. This project is still a work in progress.
Installation
Add this line to your application's Gemfile:
gem 'spark_plugs'And then execute:
bundle installThen install
rails generate spark_plugs:installIf you would like to customize the view:
rails generate spark_plugs:viewsNotes:
The master branch does not provide controller actions or views for creating or editing static pages. I have assumed that you've created an administration interface or are using a gem like rails_admin to manage these pages.
If you wish to use the default views please use the legacy-full-controller branch or fork that branch.
Contributing
- Fork it ( https://github.com/whatisinternet/spark_plugs/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Make sure your tests pass.
- Push to the branch (
git push origin my-new-feature) - Create a new Pull Request