Simplify partial rendering when the partial is named after the model
This commit is contained in:
parent
5b4636d521
commit
3914050fcc
17 changed files with 17 additions and 23 deletions
|
@ -30,7 +30,7 @@
|
|||
<%= check_box_tag "user_all", "1", false %>
|
||||
</td>
|
||||
</tr>
|
||||
<%= render :partial => "user", :collection => @users %>
|
||||
<%= render @users %>
|
||||
</table>
|
||||
|
||||
<div id="user_list_actions buttons">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue