Module: ActionControllerMixin::ClassMethods

Defined in:
lib/scaffold_logic.rb

Instance Method Summary collapse

Instance Method Details

#add_breadcrumb(name, url, options = {}) ⇒ Object



192
193
194
195
196
# File 'lib/scaffold_logic.rb', line 192

def add_breadcrumb name, url, options = {}
  before_filter options do |controller|
    controller.send :add_breadcrumb, name, url
  end
end