Show profile pictures to admins and allow them to upload pics
This commit is contained in:
parent
10d58ef050
commit
d5a9b79f6e
4 changed files with 17 additions and 2 deletions
|
|
@ -43,7 +43,8 @@ module Admin
|
|||
# Variable @show_attributes holds the attributes that are visible for the 'show' action
|
||||
# If you want to change the attributes that are shown in the 'show' action of users
|
||||
# add/remove the attributes in the following string array
|
||||
@show_attributes = %w(name email username nickname affiliation biography registered attended roles created_at
|
||||
@show_attributes = %w(name email username nickname affiliation biography
|
||||
profile_picture registered attended roles created_at
|
||||
updated_at sign_in_count current_sign_in_at last_sign_in_at
|
||||
current_sign_in_ip last_sign_in_ip)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue