Skip to content

Commit

Permalink
Merge pull request #920 from Bogadon/no-rails-5-0-deprecation-warnings
Browse files Browse the repository at this point in the history
Fix Rails 5 deprecation warnings
  • Loading branch information
seyhunak authored Feb 10, 2017
2 parents a9d3837 + 5f91395 commit f2ccef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter/bootstrap/rails/breadcrumbs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class << self
module ClassMethods
def add_bootstrap_breadcrumb(name, url = '', options = {})
options.merge! :klass => self.name
before_filter options do |controller|
before_action options do |controller|
controller.send :add_bootstrap_breadcrumb, name, url, options
end
end
Expand Down

0 comments on commit f2ccef4

Please sign in to comment.