Fix removed ip_pool type errors (#62)

* Fix undefined method description

Sice `:description` was removed from the IP pools it should display the IP pool `:name` instead of the `:description`.

* Fix using the removed ip_pool type
This commit is contained in:
Alex Bouma
2017-04-29 19:42:29 +01:00
committed by Adam Cooke
parent f779e45f45
commit ddf2a859bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
.fieldSet__field
= f.label :ip_pool_id, :class => 'fieldSet__label'
.fieldSet__input
= f.collection_select :ip_pool_id, organization.ip_pools.includes(:ip_addresses).order("`default` desc, name asc"), :id, :description, {}, :class => 'input input--select'
= f.collection_select :ip_pool_id, organization.ip_pools.includes(:ip_addresses).order("`default` desc, name asc"), :id, :name, {}, :class => 'input input--select'
%p.fieldSet__text
This is the set of IP addresses which outbound e-mails will be delivered from.