aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorkenta-s <knt01222@gmail.com>2017-01-18 20:45:02 +0900
committerkenta-s <knt01222@gmail.com>2017-01-18 20:45:02 +0900
commite76f7c6fa9f4bc9d078216106844284e58015554 (patch)
tree89f8a61aa3ca15b24b8ee2f6e2c646cf01d79c9b /actionview
parentc49cc4ae35e583048d4fcde337e83aa86a3ef80c (diff)
downloadrails-e76f7c6fa9f4bc9d078216106844284e58015554.tar.gz
rails-e76f7c6fa9f4bc9d078216106844284e58015554.tar.bz2
rails-e76f7c6fa9f4bc9d078216106844284e58015554.zip
Fix grammar in partial_renderer.rb [ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/renderer/partial_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/renderer/partial_renderer.rb b/actionview/lib/action_view/renderer/partial_renderer.rb
index af3df52b28..2bb4465131 100644
--- a/actionview/lib/action_view/renderer/partial_renderer.rb
+++ b/actionview/lib/action_view/renderer/partial_renderer.rb
@@ -99,7 +99,7 @@ module ActionView
# <%= render partial: "ad", collection: @advertisements, spacer_template: "ad_divider" %>
#
# If the given <tt>:collection</tt> is +nil+ or empty, <tt>render</tt> will return nil. This will allow you
- # to specify a text which will displayed instead by using this form:
+ # to specify a text which will be displayed instead by using this form:
#
# <%= render(partial: "ad", collection: @advertisements) || "There's no ad to be displayed" %>
#