pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
715 stars 215 forks source link

address deprecation warnings by using before_action instead of before_filter #156

Closed seanwalbran closed 2 years ago

seanwalbran commented 7 years ago

Fix these deprecation warnings under rails 5:

WARN DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. WARN DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead.

fameoflight commented 6 years ago

@pelle any chance we can merge this in?

anars73 commented 5 years ago

Tested, works! 🚀