diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-01-18 07:59:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 07:59:07 -0500 |
commit | 8496d0c894b42832bcff65af3f5896cf43d77e36 (patch) | |
tree | a48816a8bc984ebd0891a2f2a7ddd773e0070115 /actionview/lib/action_view | |
parent | 641a490e56309828ea4dcf34ebe9b457d648dd54 (diff) | |
parent | e76f7c6fa9f4bc9d078216106844284e58015554 (diff) | |
download | rails-8496d0c894b42832bcff65af3f5896cf43d77e36.tar.gz rails-8496d0c894b42832bcff65af3f5896cf43d77e36.tar.bz2 rails-8496d0c894b42832bcff65af3f5896cf43d77e36.zip |
Merge pull request #27726 from kenta-s/fix-grammar-in-partial_renderer
Fix grammar in partial_renderer.rb [ci skip]
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/renderer/partial_renderer.rb | 2 |
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" %> # |