Class: Effective::CommitteesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



11
12
13
14
15
16
17
18
# File 'app/controllers/effective/committees_controller.rb', line 11

def index
  @committees = resource_scope.for_dashboard
  @page_title = "My #{EffectiveResources.et('effective_committees.name')}"

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

  render 'index'
end

#volunteers_and_committeesObject



20
21
22
23
24
25
# File 'app/controllers/effective/committees_controller.rb', line 20

def volunteers_and_committees
  @committees = resource_scope.for_index
  @page_title = "Volunteers and Committees"

  EffectiveResources.authorize!(self, :index, Effective::Committee)
end