Class: Reports::ContributionReportsController
- Inherits:
-
BaseController
- Object
- BaseController
- Reports::ContributionReportsController
- Defined in:
- app/controllers/dune/admin/reports/contribution_reports_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 |
# File 'app/controllers/dune/admin/reports/contribution_reports_controller.rb', line 3 def index project = Project.find(params[:project_id]) render csv: ContributionReport.per_project(project) end |