app/views/lines/admin/authors/show.html.erb in lines-engine-1.0.0 vs app/views/lines/admin/authors/show.html.erb in lines-engine-1.1.0
- old
+ new
@@ -14,10 +14,10 @@
<div class="actions">
<div class="left">
<%= mail_to @author.email, @author.email %>
</div>
<div class="right">
- <%= link_to "Website", @author.gplus_profile, class: "btn-unpublish" unless @author.gplus_profile.empty? %>
+ <%= link_to "Website", @author.gplus_profile, class: "btn-unpublish" if @author.gplus_profile %>
</div>
</div>
</div>
</div>