Class: Spree::Api::V2::CountriesController
- Inherits:
-
BaseController
- Object
- BaseController
- BaseController
- Spree::Api::V2::CountriesController
- Defined in:
- app/controllers/spree/api/v2/countries_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 |
# File 'app/controllers/spree/api/v2/countries_controller.rb', line 7 def index render_collection Spree::Country.includes(:states) end |