Fix loading avatar image
This commit is contained in:
parent
d888be0242
commit
bb0bebe8f7
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
<section class='sideNav-section'>
|
<section class='sideNav-section'>
|
||||||
<a class='sideNav-link' href='<%= profile_url(current_user.profile) %>'>
|
<a class='sideNav-link' href='<%= profile_url(current_user.profile) %>'>
|
||||||
<% if current_user.profile.picture? %>
|
<% if current_user.profile.picture? %>
|
||||||
<img class='sideNav-profile'src="<%= current_user.profile.get_profile_picture(:tiny) %>')">
|
<img class='sideNav-profile' src="<%= current_user.profile.get_profile_picture(:tiny) %>">
|
||||||
<% else %>
|
<% else %>
|
||||||
<i class="sideNav-icon icon-user-1"></i>
|
<i class="sideNav-icon icon-user-1"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -46,4 +46,3 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue