Module: FriendlyId::Globalize3
- Defined in:
- lib/active_admin/friendly_id/globalize3.rb
Defined Under Namespace
Modules: Configuration, FinderMethods
Class Method Summary collapse
Class Method Details
.included(model_class) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/active_admin/friendly_id/globalize3.rb', line 4 def self.included(model_class) model_class.friendly_id_config.instance_eval do self.class.send :include, Configuration end model_class.instance_eval do relation_class.send :include, FinderMethods end end |