Allowing users to see member activity

This commit is contained in:
2014-01-23 17:50:00 -07:00
parent a2a9d082d8
commit aa29f30f30
2 changed files with 7 additions and 3 deletions

View File

@@ -8,9 +8,13 @@
<% end %>
<% if current_user.admin? %>
<%= link_to 'Inactive Users', users_inactive_path %> |
<% end %>
<% if can? :activity, User %>
<%= link_to 'Recent Activity', users_activity_path %> |
<% end %>
<%= link_to 'New Members Report', users_new_member_report_path %>
<% if can? :new_member_report, User %>
<%= link_to 'New Members Report', users_new_member_report_path %>
<% end %>
<% @certifications = Certification.all.sort_by(&:id) %>
<table>