]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/oauth.rb
Display no diary comments message when empty
[rails.git] / config / initializers / oauth.rb
index c897785518cd484a0d7b742e5cc47545356d2910..2e2f45ab88e1c46667b09719f07ca7880d238936 100644 (file)
@@ -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