aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-03-07 00:00:22 -0300
committerRafael França <rafaelmfranca@gmail.com>2016-03-07 00:00:22 -0300
commitcf1d45bd89309c952840bcd918af2b18bc55579c (patch)
tree5ac9495b0b88385fb0529fc8547d80945da2329a /actionpack/lib/abstract_controller
parenta663a2a4d54b28c61d22fb1a349b486ef7b9c809 (diff)
parent05516a3156dcc21018919d7f6d1fdbcb57886d18 (diff)
downloadrails-cf1d45bd89309c952840bcd918af2b18bc55579c.tar.gz
rails-cf1d45bd89309c952840bcd918af2b18bc55579c.tar.bz2
rails-cf1d45bd89309c952840bcd918af2b18bc55579c.zip
Merge pull request #24091 from mcfiredrill/fix-helper-method-docs
clarify that helper_method makes both methods available in the view [ci skip]
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r--actionpack/lib/abstract_controller/helpers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/helpers.rb b/actionpack/lib/abstract_controller/helpers.rb
index d84c238a62..ab4355296b 100644
--- a/actionpack/lib/abstract_controller/helpers.rb
+++ b/actionpack/lib/abstract_controller/helpers.rb
@@ -38,7 +38,8 @@ module AbstractController
end
# Declare a controller method as a helper. For example, the following
- # makes the +current_user+ controller method available to the view:
+ # makes the +current_user+ and +logged_in?+ controller methods available
+ # to the view:
# class ApplicationController < ActionController::Base
# helper_method :current_user, :logged_in?
#