pundit: convert ip addresses to pundit.

This commit is contained in:
evazion
2020-03-18 01:43:04 -05:00
parent 92aeb8728f
commit be59e85d25
5 changed files with 13 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<th>Join Date</th>
<td><%= presenter.join_date %></td>
</tr>
<% if CurrentUser.is_moderator? %>
<% if policy(IpAddress).show? %>
<tr>
<th>Last IP</th>
<td>