Module: HasManyTranslations::Control
- Defined in:
- lib/has_many_translations/control.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
5 6 7 8 9 10 11 |
# File 'lib/has_many_translations/control.rb', line 5 def self.included(base) # :nodoc: base.class_eval do include InstanceMethods # alias_method_chain :create_translation?, :control # alias_method_chain :update_translation?, :control end end |