Module: Bootstrapped::BreadCrumbs::ClassMethods

Defined in:
lib/bootstrapped-rails/breadcrumbs.rb

Instance Method Summary collapse

Instance Method Details

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



6
7
8
9
10
# File 'lib/bootstrapped-rails/breadcrumbs.rb', line 6

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