Class: Spree::Admin::ZonesController
- Inherits:
-
ResourceController
- Object
- ApplicationController
- BaseController
- BaseController
- ResourceController
- Spree::Admin::ZonesController
- Defined in:
- app/controllers/spree/admin/zones_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
belongs_to, #create, create, #destroy, destroy, #edit, 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
#new ⇒ Object
6 7 8 9 |
# File 'app/controllers/spree/admin/zones_controller.rb', line 6 def new @zone.zone_members.build respond_with(@zone) end |