Class: E9Vendors::VendorsController

Inherits:
Admin::ResourceController
  • Object
show all
Includes:
Controller
Defined in:
app/controllers/e9_vendors/vendors_controller.rb

Instance Method Summary collapse

Methods included from Controller

#add_index_breadcrumb

Instance Method Details

#createObject



10
# File 'app/controllers/e9_vendors/vendors_controller.rb', line 10

def create;  create!  { collection_path } end

#destroyObject



12
# File 'app/controllers/e9_vendors/vendors_controller.rb', line 12

def destroy; destroy! { collection_path } end

#updateObject



11
# File 'app/controllers/e9_vendors/vendors_controller.rb', line 11

def update;  update!  { collection_path } end