Skip to content

Commit 2f0b50c

Browse files
committed
Check for blank? instead of empty? for accounts
1 parent ca0b082 commit 2f0b50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/localizable/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div class="user group">
2525
<span class="supporters--item-location"><%= supporter.city %>/<%= supporter.country %></span>
2626
<%= link_to supporter.link.sub(%r(https?://), ''), supporter.link, class: 'supporters--item-link' %>
27-
<%= link_to('@' + supporter.twitter, 'https://twitter.com/' + supporter.twitter, class: 'supporters--item-link') unless supporter.twitter.empty? %>
27+
<%= link_to('@' + supporter.twitter, 'https://twitter.com/' + supporter.twitter, class: 'supporters--item-link') unless supporter.twitter.blank? %>
2828
</div>
2929
<ul class="supporters--contacts">
3030
<% supporter.contacts.each do |contact| %>

0 commit comments

Comments
 (0)