Module: Loaf::ControllerExtensions

Defined in:
lib/loaf/controller_extensions.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

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



8
9
10
11
12
# File 'lib/loaf/controller_extensions.rb', line 8

def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
  base.send :helper_method, :_breadcrumbs
end