aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/helpers.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-09-14 11:36:12 +0200
committerGitHub <noreply@github.com>2016-09-14 11:36:12 +0200
commit0fe76197d2622674e1796a9a000995a7a1f6622b (patch)
treead2e1380ede0a1789c7c1a7bffb1f43b465c4105 /actionpack/lib/abstract_controller/helpers.rb
parent92703a9ea5d8b96f30e0b706b801c9185ef14f0e (diff)
parent3464cd5c288323ca115a4929d1e6b435c4afc8d4 (diff)
downloadrails-0fe76197d2622674e1796a9a000995a7a1f6622b.tar.gz
rails-0fe76197d2622674e1796a9a000995a7a1f6622b.tar.bz2
rails-0fe76197d2622674e1796a9a000995a7a1f6622b.zip
Merge pull request #26489 from kamipo/fix_broken_comments_indentation
Fix broken comments indentation caused by rubocop auto-correct [ci skip]
Diffstat (limited to 'actionpack/lib/abstract_controller/helpers.rb')
-rw-r--r--actionpack/lib/abstract_controller/helpers.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/lib/abstract_controller/helpers.rb b/actionpack/lib/abstract_controller/helpers.rb
index cb76898f59..ef3be7af83 100644
--- a/actionpack/lib/abstract_controller/helpers.rb
+++ b/actionpack/lib/abstract_controller/helpers.rb
@@ -171,12 +171,12 @@ module AbstractController
end
private
- # Makes all the (instance) methods in the helper module available to templates
- # rendered through this controller.
- #
- # ==== Parameters
- # * <tt>module</tt> - The module to include into the current helper module
- # for the class
+ # Makes all the (instance) methods in the helper module available to templates
+ # rendered through this controller.
+ #
+ # ==== Parameters
+ # * <tt>module</tt> - The module to include into the current helper module
+ # for the class
def add_template_helper(mod)
_helpers.module_eval { include mod }
end