You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
states.js is rendered with the application layout, when it should be renedered without any layout.
In app/controllers/spree/states_controller.rb
it should be changed from:
respond_with @state_info = Spree::State.states_group_by_country_id.to_json
to:
respond_with @state_info = Spree::State.states_group_by_country_id.to_json, :layout => nil
The text was updated successfully, but these errors were encountered:
states.js is rendered with the application layout, when it should be renedered without any layout.
In app/controllers/spree/states_controller.rb
it should be changed from:
respond_with @state_info = Spree::State.states_group_by_country_id.to_json
to:
respond_with @state_info = Spree::State.states_group_by_country_id.to_json, :layout => nil
The text was updated successfully, but these errors were encountered: