Module: Croutons::Controller

Defined in:
lib/croutons/controller.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(controller) ⇒ Object



3
4
5
# File 'lib/croutons/controller.rb', line 3

def self.included(controller)
  controller.helper_method(:breadcrumbs)
end

Instance Method Details

#render_to_body(options) ⇒ Object



7
8
9
10
11
# File 'lib/croutons/controller.rb', line 7

def render_to_body(options)
  @_template = options[:template]
  @_prefixes = options[:prefixes]
  super
end