adds user's email to activity page for admins

This commit is contained in:
Juanjo Bazán
2015-11-12 12:04:34 +01:00
parent 72fecabe56
commit a881ced801
3 changed files with 43 additions and 1 deletions

View File

@@ -35,4 +35,8 @@ module UsersHelper
end
end
def current_administrator?
current_user && current_user.administrator?
end
end