X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0654be27f9826e6cca4b88c03b39517214612351..f9b0490afcf5cbcb279b6ba504995214a86619c6:/config/initializers/oauth.rb?ds=sidebyside diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index c89778551..2e2f45ab8 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -35,12 +35,12 @@ module OpenStreetMap module ClassMethods def included(controller) controller.class_eval do - def self.before_filter(...) - before_action(...) + def self.before_filter(*names, &blk) + before_action(*names, &blk) end - def self.skip_before_filter(...) - skip_before_action(...) + def self.skip_before_filter(*names, &blk) + skip_before_action(*names, &blk) end end