Skip to content

Commit

Permalink
表示する必要のないカラムをビューから削除 
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 25, 2010
1 parent 9da95f4 commit b3e3f28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions depot/app/views/users/index.html.erb
Expand Up @@ -3,15 +3,11 @@
<table>
<tr>
<th>Name</th>
<th>Hashed password</th>
<th>Salt</th>
</tr>

<% for user in @users %>
<tr>
<td><%=h user.name %></td>
<td><%=h user.hashed_password %></td>
<td><%=h user.salt %></td>
<td><%= link_to 'Show', user %></td>
<td><%= link_to 'Edit', edit_user_path(user) %></td>
<td><%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %></td>
Expand Down

0 comments on commit b3e3f28

Please sign in to comment.