In order to use friendly_id, you need:
slug(string) field to the database.
include Adminpanel::Friendlyto your model.
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
To call a friendly model: