View the Project on GitHub codn/adminpanel

Special Behavior



Module ยท Friendly

In order to use friendly_id, you need:

If you need the slug to be generated with something different than name you may override slug_candidates instance method.

For deeper customization of the slug you may also add it to the form_fields hash.

To call a friendly model: Adminpanel::Model.friendly.find(params[:id])