Class: Admin::CustomersController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/customers_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



7
8
9
10
11
12
# File 'app/controllers/admin/customers_controller.rb', line 7

def index
  @datatable = Effective::Datatables::Customers.new() if defined?(EffectiveDatatables)
  @page_title = 'Customers'

  EffectiveOrders.authorized?(self, :index, Effective::Customer)
end