Class: Spree::CountriesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/countries_controller.rb

Instance Method Summary collapse

Methods included from Spree::Core::ControllerHelpers::Common

included

Methods included from Spree::Core::ControllerHelpers::Auth

#current_ability, included, #redirect_back_or_default, #store_location, #try_spree_current_user, #unauthorized

Instance Method Details

#indexObject



7
8
9
# File 'app/controllers/spree/countries_controller.rb', line 7

def index
  respond_with @states_required = Spree::Country.states_required_by_country_id.to_json, :layout => nil
end