Skip to content
Snippets Groups Projects
Commit 074e9612 authored by Patrick Figel's avatar Patrick Figel Committed by Eugen Rochko
Browse files

fix partial path in admin/reports (#2546)

In #2505, the authorize_follow views were renamed to
authorize_follows. This change was not applied in the show view
of admin/reports, which causes a 500 when reports are viewed.
parent 7406404f
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@
.report-accounts
.report-accounts__item
%strong= t('admin.reports.reported_account')
= render partial: 'authorize_follow/card', locals: { account: @report.target_account }
= render partial: 'authorize_follows/card', locals: { account: @report.target_account }
= render partial: 'admin/accounts/card', locals: { account: @report.target_account }
.report-accounts__item
%strong= t('admin.reports.reported_by')
= render partial: 'authorize_follow/card', locals: { account: @report.account }
= render partial: 'authorize_follows/card', locals: { account: @report.account }
= render partial: 'admin/accounts/card', locals: { account: @report.account }
%p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment