aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-07-31 17:26:43 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-07-31 17:41:34 +0900
commit5ae814d016cfa1fdc4211d2e5c618a233c6c9200 (patch)
tree0e8d60fba27d1c6be24ff1dea9dbfff9b8735787 /actionpack/lib/abstract_controller
parent7e299ce230b3928609415a9797c6abef00561c45 (diff)
downloadrails-5ae814d016cfa1fdc4211d2e5c618a233c6c9200.tar.gz
rails-5ae814d016cfa1fdc4211d2e5c618a233c6c9200.tar.bz2
rails-5ae814d016cfa1fdc4211d2e5c618a233c6c9200.zip
Reduce Array assignment by not giving a name for unused `*args`
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r--actionpack/lib/abstract_controller/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/callbacks.rb b/actionpack/lib/abstract_controller/callbacks.rb
index 42bab411d2..983d65f944 100644
--- a/actionpack/lib/abstract_controller/callbacks.rb
+++ b/actionpack/lib/abstract_controller/callbacks.rb
@@ -37,7 +37,7 @@ module AbstractController
# Override <tt>AbstractController::Base#process_action</tt> to run the
# <tt>process_action</tt> callbacks around the normal behavior.
- def process_action(*args)
+ def process_action(*)
run_callbacks(:process_action) do
super
end