From 6f19d806f7c00574c3fc20e8c69f9ebfc3ac46a1 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 21 Aug 2022 01:07:08 +0200 Subject: [PATCH] Prevent layout markup duplication --- app/views/layouts/{moderation.haml => moderation/reports.haml} | 0 app/views/moderation/reports/index.haml | 3 --- 2 files changed, 3 deletions(-) rename app/views/layouts/{moderation.haml => moderation/reports.haml} (100%) diff --git a/app/views/layouts/moderation.haml b/app/views/layouts/moderation/reports.haml similarity index 100% rename from app/views/layouts/moderation.haml rename to app/views/layouts/moderation/reports.haml diff --git a/app/views/moderation/reports/index.haml b/app/views/moderation/reports/index.haml index bbcc402f..0bcb623a 100644 --- a/app/views/moderation/reports/index.haml +++ b/app/views/moderation/reports/index.haml @@ -9,6 +9,3 @@ .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"