diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 11:53:34 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 11:53:34 -0700 |
commit | 1d9a219307ec5cc506635ee0bd3d368955d5b4a6 (patch) | |
tree | 033cdf7d5b2a04080e828e3bb929cc1720533fbe /actionpack | |
parent | a5f8f5908116081a3461409eda53e62d997d5b40 (diff) | |
download | rails-1d9a219307ec5cc506635ee0bd3d368955d5b4a6.tar.gz rails-1d9a219307ec5cc506635ee0bd3d368955d5b4a6.tar.bz2 rails-1d9a219307ec5cc506635ee0bd3d368955d5b4a6.zip |
oops, missed a uniq
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index ce88803a9c..f9f6eb945e 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -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 |