aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-08-22 17:06:13 -0500
committerGitHub <noreply@github.com>2018-08-22 17:06:13 -0500
commit022a47ce1542b6ac678e2f2ab649afd25048979e (patch)
tree98182c0b731c365ec825d8b3855e077e0e4413b2
parentc97faea18ced01a969646878dd4ac80e19ec889b (diff)
parent4800a613c0a9c1eb66c4defa92fce61c3e45f8f6 (diff)
downloadrails-022a47ce1542b6ac678e2f2ab649afd25048979e.tar.gz
rails-022a47ce1542b6ac678e2f2ab649afd25048979e.tar.bz2
rails-022a47ce1542b6ac678e2f2ab649afd25048979e.zip
Merge pull request #33698 from bogdanvlviv/follow-up-33693
Remove extra execution of `uniq!` on action_methods
-rw-r--r--actionpack/lib/abstract_controller/base.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index 9783c19835..6e6786d0be 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -80,7 +80,6 @@ module AbstractController
# Be sure to include shadowed public instance methods of this class
public_instance_methods(false))
- methods.uniq!
methods.map!(&:to_s)
methods.to_set