Sha256: 17f7fe9bcf951601e70f90c766ea048b5d226dde67393fbef6abe624930ffcfb
Contents?: true
Size: 371 Bytes
Versions: 6
Compression:
Stored size: 371 Bytes
Contents
class ActionController::Base class << self def inherited_with_acts_as_dashboard_include(child) inherited_without_acts_as_dashboard_include child child.send :include, ActsAsDashboard end alias_method_chain :inherited, :acts_as_dashboard_include end end module ActsAsDashboard def self.included(base) base.extend ClassMethods end end
Version data entries
6 entries across 6 versions & 1 rubygems