diff --git a/core/app/views/spree/admin/zones/_country_member.html.erb b/core/app/views/spree/admin/zones/_country_member.html.erb index 1fd8b138e02..9164c41f37e 100644 --- a/core/app/views/spree/admin/zones/_country_member.html.erb +++ b/core/app/views/spree/admin/zones/_country_member.html.erb @@ -1,5 +1,5 @@
  • - <%= f.hidden_field :zoneable_type, :value => 'Country' %> + <%= f.hidden_field :zoneable_type, :value => 'Spree::Country' %> <%= f.collection_select(:zoneable_id, @countries, :id, :name, :include_blank => true) %> <%= remove_nested f %>
  • diff --git a/core/app/views/spree/admin/zones/_state_member.html.erb b/core/app/views/spree/admin/zones/_state_member.html.erb index b0a55af086e..0667e35e263 100644 --- a/core/app/views/spree/admin/zones/_state_member.html.erb +++ b/core/app/views/spree/admin/zones/_state_member.html.erb @@ -1,5 +1,5 @@
  • - <%= f.hidden_field :zoneable_type, :value => 'State' %> + <%= f.hidden_field :zoneable_type, :value => 'Spree::State' %> <%= f.collection_select(:zoneable_id, @states, :id, :name, :include_blank => true) %> <%= remove_nested f %>
  • diff --git a/core/app/views/spree/admin/zones/_zone_member.html.erb b/core/app/views/spree/admin/zones/_zone_member.html.erb index e2713d02351..e9892570aaf 100644 --- a/core/app/views/spree/admin/zones/_zone_member.html.erb +++ b/core/app/views/spree/admin/zones/_zone_member.html.erb @@ -1,5 +1,5 @@
  • - <%= f.hidden_field :zoneable_type, :value => "Zone" %> + <%= f.hidden_field :zoneable_type, :value => "Spree::Zone" %> <%= f.collection_select(:zoneable_id, @zones, :id, :name, :include_blank => true) %> <%= remove_nested f %>