From 879d540adc34603f0fd1ac1a44763598e9ccc551 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 15 Oct 2017 16:01:02 +0900 Subject: Remove unused `before_filters` This method added by 1008511. It is unnecessary because it is no longer called by 19c3495. --- actionpack/lib/action_controller/metal/testing.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/metal/testing.rb b/actionpack/lib/action_controller/metal/testing.rb index b07f1f3d8c..6e8a95040f 100644 --- a/actionpack/lib/action_controller/metal/testing.rb +++ b/actionpack/lib/action_controller/metal/testing.rb @@ -12,11 +12,5 @@ module ActionController self.params = nil end end - - module ClassMethods - def before_filters - _process_action_callbacks.find_all { |x| x.kind == :before }.map(&:name) - end - end end end -- cgit v1.2.3