mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
oops, missed a uniq
This commit is contained in:
parent
a5f8f59081
commit
1d9a219307
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ module AbstractController
|
|||
# Except for public instance methods of Base and its ancestors
|
||||
internal_methods +
|
||||
# Be sure to include shadowed public instance methods of this class
|
||||
public_instance_methods(false)).map { |x| x.to_s } -
|
||||
public_instance_methods(false)).uniq.map { |x| x.to_s } -
|
||||
# And always exclude explicitly hidden actions
|
||||
hidden_actions.to_a
|
||||
|
||||
|
|
Loading…
Reference in a new issue