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:
- Run:
rails generate pages_cms:views - Add:
gem "bootstrap-sass"to your gemfile - Add:
//= require cocoonto your application.js - Add:
//= require bootstrapto your application.js - Add:
*= require pages_cms/pages_cmsto 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!
- Fork
- Make Topic Branch
- Submit Pull Request
Decorators and Customization
Coming soon