Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Petrie

Pages for your Rails app. Includes support for ActiveAdmin and Sir Trevor. Built for Rails 4.

Admin

Install

gem install petrie

or add to your Gemfile

gem 'petrie'

Then run the installer

rails g petrie:install
rake db:migrate

ActiveAdmin

Heads up! You need to have ActiveAdmin installed first!

rails g petrie:activeadmin

Caution

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.

Known issues

  • 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/blocks until this gets fixed.

License

MIT License

Bitdeli Badge

You can’t perform that action at this time.