Skip to content

Commit

Permalink
adding private indicator for
Browse files Browse the repository at this point in the history
groups
  • Loading branch information
zr2d2 committed Jul 6, 2012
1 parent 097a7eb commit 23c3a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/groups/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<% @groups.each do |group| %>
<tr>
<td><%= group.name %></td>
<td><%= group.name %><%= " (Private)" if cannot? :view, group %></td>
<td>
<%= link_to 'Show', group if can? :view, group %>
<%= link_to 'Edit', edit_group_path(group) if can? :edit, group %>
Expand Down

0 comments on commit 23c3a84

Please sign in to comment.