dont barf on distributors without a country.

This commit is contained in:
Andrew Spinks
2012-04-09 10:37:35 +10:00
parent 2e9e441ba1
commit 088febfe7b

View File

@@ -52,7 +52,7 @@
</tr>
<th>Pickup country</th>
<td>
<%= @distributor.country.name %>
<%= @distributor.country.name if @distributor.country %>
</td>
</tr>