Module: Padrino::Contrib::Orm::ActiveRecord::PermalinkI18n

Defined in:
lib/padrino-contrib/orm/active_record/permalink_i18n.rb

Overview

This module extend ActiveRecord.

You need to to your model a column called :permalink

then use +has_i18n_permalink :title like:

class Page < ActiveRecord::Base
  has_i18n_permalink :page, :langs => [:en, :fr, :de]
end

Defined Under Namespace

Modules: ClassMethods, InstanceMethods