about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Figel <patrick@figel.email>2017-04-28 00:09:25 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-28 00:09:25 +0200
commit074e9612a20fda089eee6a1ac80aefb668e54f59 (patch)
tree703c96b29693b8ce2afe96790f22af244dd50ed6
parent7406404fa3c3ff921bf4501eb365932b0553ebeb (diff)
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.
-rw-r--r--app/views/admin/reports/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml
index 3868d4fad..ce5fe6cb6 100644
--- a/app/views/admin/reports/show.html.haml
+++ b/app/views/admin/reports/show.html.haml
@@ -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