Sha256: 81385cb425af2ce8a9827e177b1c1d1bb2ede9d118bef31e70a98f86ab5b340d
Contents?: true
Size: 344 Bytes
Versions: 9
Compression:
Stored size: 344 Bytes
Contents
module Spree class StatesController < Spree::StoreController ssl_allowed :index respond_to :js def index # we return ALL known information, since billing country isn't restricted # by shipping country respond_with @state_info = Spree::State.states_group_by_country_id.to_json, :layout => nil end end end
Version data entries
9 entries across 9 versions & 2 rubygems