diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-03-07 00:00:22 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-03-07 00:00:22 -0300 |
commit | cf1d45bd89309c952840bcd918af2b18bc55579c (patch) | |
tree | 5ac9495b0b88385fb0529fc8547d80945da2329a /actionpack/lib | |
parent | a663a2a4d54b28c61d22fb1a349b486ef7b9c809 (diff) | |
parent | 05516a3156dcc21018919d7f6d1fdbcb57886d18 (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/abstract_controller/helpers.rb | 3 |
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? # |