Files
nairobi/app/controllers/admin/budget_investment_audits_controller.rb
Javi Martín e0c2468bd2 Use a different controller for investment audits
The same way we do for milestones. We also make the code more consistent
since the view was already in a separate folder.
2019-11-05 13:03:45 +01:00

9 lines
244 B
Ruby

class Admin::BudgetInvestmentAuditsController < Admin::BaseController
def show
investment = Budget::Investment.find(params[:budget_investment_id])
@audit = investment.audits.find(params[:id])
render "admin/audits/show"
end
end