Skip to content

Commit

Permalink
admin can update user avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Aug 11, 2016
1 parent 43a66b3 commit fc31b01
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/administrator/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@
'no' => '',
],
],
'image_url' => [
'title' => 'GitHub 头像 URL'
],
'city' => [
'title' => '所处城市'
],
Expand All @@ -134,7 +131,9 @@
'title' => '真实姓名'
],
'avatar' => [
'title' => '头像 URL'
'title' => '用户头像',
'type' => 'image',
'location' => public_path() . '/uploads/avatars/',
],
'roles' => array(
'type' => 'relationship',
Expand Down

0 comments on commit fc31b01

Please sign in to comment.