Sha256: 4b65720519e61610af62916bf80b976ed33677ed793488c231e8305154011481
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
#PagesCms Pages CMS uses nested forms and draggable items to allow the user to build a site within the predefined layout from a designer. It incorporates an image management system as well as a page management system. Get hacking right away with out of the box support for bootstrap. ##Installation $ gem install 'pages_cms' or gem 'pages_cms' Then in your rails app rails generate pages_cms:install To get hacking immediately: 1. Run: `rails generate pages_cms:views` 2. Add: `gem "bootstrap-sass"` to your gemfile 3. Add: `//= require cocoon` to your application.js 4. Add: `//= require bootstrap` to your application.js 5. Add: `*= require pages_cms/pages_cms` to your application.css You should now be able to go to /admin/pages and start building pages! This generator has added a `logged_in_admin` method to your application controller which will authorize the controllers in pages_cms/admin. It has also added a helper method `current_user_is_admin?` to your application helper, this verifies in the view that a user is an admin. It has also added a `slugged_path` helper method to your application helper, this provides a path helper to link to user pages. Make sure to fill these methods out to secure your application. ##Contributing More than welcome! 1. Fork 2. Make Topic Branch 3. Submit Pull Request ##Decorators and Customization Coming soon
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pages_cms-0.1.0 | README.md |