Skip to content

Commit 594711c

Browse files
committed
organizations#show: sponsorship#plan can be nil
1 parent 16fd9de commit 594711c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/views/admin/organizations/show.html.haml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@
5858
= link_to sponsorship.conference.name, conference_sponsorship_path(sponsorship.conference, sponsorship)
5959
%td= sponsorship.name
6060
%td
61-
= sponsorship.plan.name
61+
- if sponsorship.plan
62+
= sponsorship.plan.name
63+
- else
64+
%i.text-muted Other
6265
%td
6366
= sponsorship.customization_name
6467
%td

0 commit comments

Comments
 (0)