Paginas Gem

Gem Version

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. You can view the source code in GitHub

Pages

pages-indexpages-newpages-showpages-editpages-displaypages-featured

 

Categories

categories-indexcategories-newcategories-showcategories-edit

Menu Helpers

paginas_menu_helper_by_pages paginas_menu_helper_by_cat


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.

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

Known Issues

 

Leave a Reply

Your email address will not be published. Required fields are marked *