From 883d669d13eeb4b07bc39fc1bc3281906ad80a16 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 20 Aug 2022 21:17:35 +0200 Subject: [PATCH] Move views to new location --- app/views/moderation/{ => reports}/index.haml | 3 +++ app/views/moderation/{ => reports}/index.js.erb | 0 2 files changed, 3 insertions(+) rename app/views/moderation/{ => reports}/index.haml (92%) rename app/views/moderation/{ => reports}/index.js.erb (100%) diff --git a/app/views/moderation/index.haml b/app/views/moderation/reports/index.haml similarity index 92% rename from app/views/moderation/index.haml rename to app/views/moderation/reports/index.haml index 0bcb623a..bbcc402f 100644 --- a/app/views/moderation/index.haml +++ b/app/views/moderation/reports/index.haml @@ -9,3 +9,6 @@ .d-flex.justify-content-center.justify-content-sm-start %button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @reports_last_id } } = t("voc.load") + +:ruby + parent_layout "moderation" diff --git a/app/views/moderation/index.js.erb b/app/views/moderation/reports/index.js.erb similarity index 100% rename from app/views/moderation/index.js.erb rename to app/views/moderation/reports/index.js.erb