aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorTom Kadwill <tomkadwill@gmail.com>2016-05-04 07:00:47 +0100
committerTom Kadwill <tomkadwill@gmail.com>2016-05-04 07:00:47 +0100
commit6cb854f70717071529b293e4a3f4dc577fe89006 (patch)
tree9ba2514dbfeedd85a055d3afcefd1a6b682bdade /actionpack
parent0f8eefa6a581f1f04a1258342419c2896f9062ab (diff)
downloadrails-6cb854f70717071529b293e4a3f4dc577fe89006.tar.gz
rails-6cb854f70717071529b293e4a3f4dc577fe89006.tar.bz2
rails-6cb854f70717071529b293e4a3f4dc577fe89006.zip
Fix actionpack typos [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base.rb2
-rw-r--r--actionpack/lib/action_controller/renderer.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 04e5922ce8..56a8d2e5f4 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -229,7 +229,7 @@ module ActionController
HttpAuthentication::Digest::ControllerMethods,
HttpAuthentication::Token::ControllerMethods,
- # Before callbacks should also be executed the earliest as possible, so
+ # Before callbacks should also be executed as early as possible, so
# also include them at the bottom.
AbstractController::Callbacks,
diff --git a/actionpack/lib/action_controller/renderer.rb b/actionpack/lib/action_controller/renderer.rb
index e4d19e9dba..90e5a9afda 100644
--- a/actionpack/lib/action_controller/renderer.rb
+++ b/actionpack/lib/action_controller/renderer.rb
@@ -13,11 +13,11 @@ module ActionController
#
# ApplicationController.renderer.render template: '...'
#
- # You can use a shortcut on controller to replace previous example with:
+ # You can use this shortcut in a controller, instead of the previous example:
#
# ApplicationController.render template: '...'
#
- # #render method allows you to use any options as when rendering in controller.
+ # #render allows you to use the same options that you can use when rendering in a controller.
# For example,
#
# FooController.render :action, locals: { ... }, assigns: { ... }