mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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:
parent
a3478f1685
commit
b49e601e3a
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue