Class: Cats::Core::CommodityDonationsController

Inherits:
ApplicationController show all
Includes:
Common
Defined in:
app/controllers/cats/core/commodity_donations_controller.rb

Instance Method Summary collapse

Methods included from Common

#create, #show, #update

Methods inherited from ApplicationController

#authenticate, #current_user, #skip_bullet

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/cats/core/commodity_donations_controller.rb', line 6

def index
  super do
    CommodityDonation.includes(:donor, :plan, :unit, :commodity_category).all
  end
end