Use local variable instead of instance variable [ci skip]

Update render yield docs to use `search` local variable instead of `@q` instance variable
This commit is contained in:
Daniel Amireh 2016-11-05 14:19:28 +01:00 committed by GitHub
parent a3478f1685
commit b49e601e3a
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ definitions for several similar resources:
* `shared/_search_filters.html.erb`
```html+erb
<%= form_for(@q) do |f| %>
<%= form_for(search) do |f| %>
<h1>Search form:</h1>
<fieldset>
<%= yield f %>