sunlightlabs/datajam — Issue #9: Static Pages
Author: luigi
Created: 2012-01-26 18:42:12+00:00
State: open

Add the concept of Pages to the Datajam backend. These are static HTML pages that can be edited in the /admin area. These are useful for an "About" or "Learn More" page for a Datajam instance.

* Create a `Page` model, which has a `slug` and `content` field
* Ensure that slug values don't conflict with existing ones (from both Events and Pages)
* Create `Admin::PagesController < AdminController`
* Add a Pages section to the /admin area, featuring basic CRUD functionality
* Pages are cached after save using `Cacher.cache`