Provides basic pages functionality to your app.
Pages can be organized by category and there is also a couple of helpful helpers for adding page links to your menu bars
For screenshots visit here
Getting Started
Menu Link Markup Generation
If you want to generate markup for your menu, Paginas provides two helpful helpers for your view. You can either pass a hash, where the key will be the name of the menu item and the value is the id of the page you want to link to, or a category id.
- Add the helpers to your app
- paginas_menu_helper_by_pages
- paginas_menu_helper_by_cat
- Overridden Controllers
Rolify, CanCan and Devise Integration
These isntructions assume you already have rolify and CanCan OR Devise OR all three gems already installed in your app
- Prepare Routes and Controllers
- Rolify And CanCan
- Devise
- Rolify,CanCan and Devise
- Help the helpers
- Namespacing the controllers
Known Issues
- Turbolinks Workaround Fixed as of v0.2.0