Skip to content

Commit

Permalink
fix(core): 修复默认欢迎页面读取用户头像错误
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Sep 7, 2018
1 parent 73171d2 commit 3af526c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
@else
<div class="user">
@if (Auth::user()->avatar)
<img class="avatar" src="{{ Auth::user()->avatar }}" alt="{{ Auth::user()->name }}" />
<img class="avatar" src="{{ Auth::user()->avatar->url() }}" alt="{{ Auth::user()->name }}" />
@else
<span class="name">Hi, {{ Auth::user()->name }}</span>
@endif
Expand Down

0 comments on commit 3af526c

Please sign in to comment.