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.
pull/15/head
Patrick Figel 2017-04-28 00:09:25 +02:00 committed by Eugen Rochko
parent 7406404fa3
commit 074e9612a2
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@
.report-accounts .report-accounts
.report-accounts__item .report-accounts__item
%strong= t('admin.reports.reported_account') %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 } = render partial: 'admin/accounts/card', locals: { account: @report.target_account }
.report-accounts__item .report-accounts__item
%strong= t('admin.reports.reported_by') %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 } = render partial: 'admin/accounts/card', locals: { account: @report.account }
%p %p