Class: Spree::Admin::StatesController
- Inherits:
-
ResourceController
- Object
- ApplicationController
- BaseController
- BaseController
- ResourceController
- Spree::Admin::StatesController
- Defined in:
- app/controllers/spree/admin/states_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
belongs_to, create, #create, destroy, #destroy, #edit, #new, new_action, #update, update, #update_positions
Methods included from Core::ControllerHelpers::Common
Methods included from Core::ControllerHelpers::Auth
#current_ability, included, #redirect_back_or_default, #store_location, #try_spree_current_user, #unauthorized
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 |
# File 'app/controllers/spree/admin/states_controller.rb', line 7 def index respond_with(@collection) do |format| format.html format.js { render :partial => 'state_list' } end end |