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 name, url, ={} before_filter do |controller| controller.send :add_breadcrumb, name, url end end |