diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-15 16:51:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 16:51:51 +0900 |
commit | a92e4bfff31dd862e842bd68ddd78f3db720b3a4 (patch) | |
tree | 2960cefeef87fef7278244477e084423ddbd6367 | |
parent | 0724f4110161725826a6107b14fc8ec7f6299f84 (diff) | |
parent | 879d540adc34603f0fd1ac1a44763598e9ccc551 (diff) | |
download | rails-a92e4bfff31dd862e842bd68ddd78f3db720b3a4.tar.gz rails-a92e4bfff31dd862e842bd68ddd78f3db720b3a4.tar.bz2 rails-a92e4bfff31dd862e842bd68ddd78f3db720b3a4.zip |
Merge pull request #30896 from y-yagi/remove_unused_before_filters
Remove unused `before_filters`
-rw-r--r-- | actionpack/lib/action_controller/metal/testing.rb | 6 |
1 files changed, 0 insertions, 6 deletions
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 |