Class: Spree::StatesController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Spree::StatesController
- Defined in:
- app/controllers/spree/states_controller.rb
Instance Attribute Summary
Attributes included from Core::ControllerHelpers
Instance Method Summary collapse
Methods included from Core::ControllerHelpers
Instance Method Details
#index ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/spree/states_controller.rb', line 7 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 |