aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/helpers.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-08 23:56:25 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-08 23:56:25 +0530
commit7918d7bf5c6f0ce53e648c793f6034d6216a4808 (patch)
treefebc17be0b2768394b67a14fa7dee842d3bde3b6 /actionpack/lib/abstract_controller/helpers.rb
parent882e750cbe09450388190e92e2d92eac352b40fa (diff)
parent7e26f7f0f7e3c230c333e1b265727a9b8cf7c91f (diff)
downloadrails-7918d7bf5c6f0ce53e648c793f6034d6216a4808.tar.gz
rails-7918d7bf5c6f0ce53e648c793f6034d6216a4808.tar.bz2
rails-7918d7bf5c6f0ce53e648c793f6034d6216a4808.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib/abstract_controller/helpers.rb')
-rw-r--r--actionpack/lib/abstract_controller/helpers.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/helpers.rb b/actionpack/lib/abstract_controller/helpers.rb
index 77cc4c07d9..4e0672d590 100644
--- a/actionpack/lib/abstract_controller/helpers.rb
+++ b/actionpack/lib/abstract_controller/helpers.rb
@@ -49,9 +49,9 @@ module AbstractController
meths.each do |meth|
_helpers.class_eval <<-ruby_eval, __FILE__, __LINE__ + 1
- def #{meth}(*args, &blk)
- controller.send(%(#{meth}), *args, &blk)
- end
+ def #{meth}(*args, &blk) # def current_user(*args, &blk)
+ controller.send(%(#{meth}), *args, &blk) # controller.send(:current_user, *args, &blk)
+ end # end
ruby_eval
end
end