Rails Engine for serving static pages
Ruby JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib
script
spec
test
.gitignore
Gemfile
Guardfile
MIT-LICENSE
README.textile
Rakefile
stationary.gemspec

README.textile

Stationary

This project rocks and uses MIT-LICENSE.

Installation

Add the line below to your rails applciation Gemfile. This gem has only been tested with Rails 3.2 and Ruby 1.9.3 so far.

gem 'stationary'

After updating you gems you can run the following to install the stationary at the root of your application.

rails g stationary:install

The install generator will add the engine routes into your applications config/routes.rb and also create a initializer file config/initializers/stationary.rb that shows some of the common configuraiton points for the engine.

Configuration

# config/initializers/stationary.rb
#Stationary.configure do |config|
#  config.root               = "#{Rails.root}/app/views/site"
#  config.skip_before_fil

Contributing

  • Fork
  • Add Failing/Feature Spec
  • Add code to make Spec pass
  • Send Pull Request