提交 b49e601e 编写于 作者: D Daniel Amireh 提交者: GitHub

Use local variable instead of instance variable [ci skip]

Update render yield docs to use `search` local variable instead of `@q` instance variable
上级 a3478f16
......@@ -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 %>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册