Permalink
Browse files

Merge pull request #27726 from kenta-s/fix-grammar-in-partial_renderer

Fix grammar in partial_renderer.rb [ci skip]
  • Loading branch information...
eileencodes committed Jan 18, 2017
2 parents 641a490 + e76f7c6 commit 8496d0c894b42832bcff65af3f5896cf43d77e36
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/renderer/partial_renderer.rb
@@ -99,7 +99,7 @@ def iterate! # :nodoc:
# <%= 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" %>
#

0 comments on commit 8496d0c

Please sign in to comment.