Skip to content

Commit f2ccef4

Browse files
authored
Merge pull request #920 from Bogadon/no-rails-5-0-deprecation-warnings
Fix Rails 5 deprecation warnings
2 parents a9d3837 + 5f91395 commit f2ccef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/twitter/bootstrap/rails/breadcrumbs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class << self
2424
module ClassMethods
2525
def add_bootstrap_breadcrumb(name, url = '', options = {})
2626
options.merge! :klass => self.name
27-
before_filter options do |controller|
27+
before_action options do |controller|
2828
controller.send :add_bootstrap_breadcrumb, name, url, options
2929
end
3030
end

0 commit comments

Comments
 (0)