Class: E9Vendors::VendorCategoriesController
- Inherits:
-
Admin::ResourceController
- Object
- Admin::ResourceController
- E9Vendors::VendorCategoriesController
- Includes:
- E9Rails::Controllers::Sortable, Controller
- Defined in:
- app/controllers/e9_vendors/vendor_categories_controller.rb
Instance Method Summary collapse
Methods included from Controller
Instance Method Details
#create ⇒ Object
9 10 11 |
# File 'app/controllers/e9_vendors/vendor_categories_controller.rb', line 9 def create create! { collection_path } end |
#destroy ⇒ Object
17 18 19 20 21 22 |
# File 'app/controllers/e9_vendors/vendor_categories_controller.rb', line 17 def destroy destroy! do |format| format.html { redirect_to collection_path } format.js end end |
#update ⇒ Object
13 14 15 |
# File 'app/controllers/e9_vendors/vendor_categories_controller.rb', line 13 def update update! { collection_path } end |