Module: Twitter::Bootswatch::Rails::Helpers::BreadCrumbs::ClassMethods

Defined in:
lib/twitter/bootswatch/rails/helpers/breadcrumbs.rb

Instance Method Summary collapse

Instance Method Details

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



11
12
13
14
15
# File 'lib/twitter/bootswatch/rails/helpers/breadcrumbs.rb', line 11

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