diff options
author | Matthew Eagar <meagar@gmail.com> | 2017-02-03 11:34:35 -0500 |
---|---|---|
committer | Matthew Eagar <meagar@gmail.com> | 2017-02-03 11:46:08 -0500 |
commit | d9ba3b1e55366aa73bd90723c59474d250f7eaee (patch) | |
tree | d09be1fd969d2e95a80cc6274e078e896575b66d /actionpack/lib/action_controller/api/api_rendering.rb | |
parent | 3497f04d3682d4c9becc63565c962e91b0d7aea2 (diff) | |
download | rails-d9ba3b1e55366aa73bd90723c59474d250f7eaee.tar.gz rails-d9ba3b1e55366aa73bd90723c59474d250f7eaee.tar.bz2 rails-d9ba3b1e55366aa73bd90723c59474d250f7eaee.zip |
Fix typo in guide: _articles should be _article
The guide contains a typo in the "local_assigns" section, where
rendering a model named 'Article' via `render @articles` is shown to
render a partial called `_articles.html.erb`, when in fact the necessary
partial name is `_article.html.erb`
Diffstat (limited to 'actionpack/lib/action_controller/api/api_rendering.rb')
0 files changed, 0 insertions, 0 deletions