Class: Spree::Api::V2::StatesController
- Inherits:
-
BaseController
- Object
- BaseController
- BaseController
- Spree::Api::V2::StatesController
- Defined in:
- app/controllers/spree/api/v2/states_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 |
# File 'app/controllers/spree/api/v2/states_controller.rb', line 7 def index render_collection states end |
#show ⇒ Object
11 12 13 |
# File 'app/controllers/spree/api/v2/states_controller.rb', line 11 def show render_instance states.find(params[:id]) end |