Pages for your Rails app. Includes support for ActiveAdmin and Sir Trevor. Built for Rails 4.
gem install petrie
or add to your Gemfile
Then run the installer
rails g petrie:install rake db:migrate
Heads up! You need to have ActiveAdmin installed first!
rails g petrie:activeadmin
Petrie includes a root route to
pages#home. Generally, this shouldn't be a problem unless you don't want to use a marketing home page as your root.
- There are missing blocks in sir-trevor-rails that will cause template errors. The workaround is to create these blocks in your application in
app/views/sir-trevor/blocksuntil this gets fixed.