X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0654be27f9826e6cca4b88c03b39517214612351..00bd8be546e8daa1f806d7937d5943846066cb8b:/config/initializers/oauth.rb 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