Files
grecia/app/controllers/admin/budget_investment_audits_controller.rb
Javi Martín 04cd3b460e Audit changes in investment translations
Note the user interface could certainly be improved, as it doesn't show
which languages have changed.
2019-11-05 13:09:38 +01:00

9 lines
263 B
Ruby

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