Module: Padrino::Contrib::Orm::MongoMapper::Permalink
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/padrino-contrib/orm/mongo_mapper/permalink.rb
Overview
This module extend ActiveRecord.
You need to to your model a column called :permalink
then use +has_permalink :title like:
class Page < ActiveRecord::Base
has_permalink :page
end
Defined Under Namespace
Modules: ClassMethods, InstanceMethods