Class: Munificent::CharityPresenter

Inherits:
Admin::ApplicationPresenter show all
Defined in:
app/presenters/munificent/charity_presenter.rb

Instance Attribute Summary

Attributes inherited from Admin::ApplicationPresenter

#record

Instance Method Summary collapse

Methods inherited from Admin::ApplicationPresenter

delegate, #initialize, #name, present, presenter_class_for

Constructor Details

This class inherits a constructor from Munificent::Admin::ApplicationPresenter

Instance Method Details

#fundraisersObject



10
11
12
# File 'app/presenters/munificent/charity_presenter.rb', line 10

def fundraisers
  record.fundraisers.map(&:name).join(", ")
end