Module: Twitter::Bootstrap::BreadCrumbs::ClassMethods

Defined in:
lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb

Instance Method Summary collapse

Instance Method Details

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



9
10
11
12
13
# File 'lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb', line 9

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