Module: Loaf::ControllerExtensions
- Defined in:
- lib/loaf/controller_extensions.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Module injection.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Module injection
10 11 12 13 14 |
# File 'lib/loaf/controller_extensions.rb', line 10 def self.included(base) base.extend ClassMethods base.send :include, InstanceMethods base.send :helper_method, :_breadcrumbs end |