Class: Effective::MembershipsDirectoryController

Inherits:
ApplicationController
  • Object
show all
Includes:
CrudController
Defined in:
app/controllers/effective/memberships_directory_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
10
11
# File 'app/controllers/effective/memberships_directory_controller.rb', line 5

def index
  @page_title = 'Directory'

  EffectiveResources.authorize!(self, :index, Effective::Membership)

  @datatable = EffectiveResources.best('EffectiveMembershipsDirectoryDatatable').new
end