Skip to content

Commit 12c2018

Browse files
Paul CampbellPaul Campbell
authored andcommitted
make sure it's not nil
1 parent 33316f3 commit 12c2018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/admin/endorsements/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%- if @provider.nil? -%>
22
<h2><%= t('navigation.endorsements') %></h2>
33
<%- else -%>
4-
<h2><%= t('endorsement.endorsements_for', :company_name => @provider.company_name) %></h2>
4+
<h2><%= t('endorsement.endorsements_for', :company_name => @provider.company_name.to_s) %></h2>
55
<%- end -%>
66

77
<%- if @endorsements.empty? -%>

0 commit comments

Comments
 (0)