Instructors can delete their own certs; hidden users are hidden in drop-downs; admins can see last user login; prepping for postgres

This commit is contained in:
2013-05-03 00:16:02 -07:00
parent 719b9447ab
commit 20a007cac5
7 changed files with 26 additions and 9 deletions

View File

@@ -108,6 +108,10 @@
<b>Created:</b>
<%= @user.created_at %>
</p>
<p>
<b>Last signed in:</b>
<%= @user.current_sign_in_at %>
</p>
<% end %>
<% if can? :update, @user then %><%= link_to 'Edit', edit_user_path(@user) %> |<% end %>