From 517001404ce3979522c3538d0e513e50a7697918 Mon Sep 17 00:00:00 2001 From: Zee Spencer <50284+zspencer@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:15:22 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20`Components`:=20Rename=20`nude`?= =?UTF-8?q?=20to=20`minimal`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - https://github.com/zinc-collective/convene/issues/1187 Sometimes there are pages where we don't want to include anything but the body; such as in https://github.com/zinc-collective/convene/issues/1956 This renames that layout from `nude` to `minimal` --- app/furniture/marketplace/flyers_controller.rb | 2 +- app/views/layouts/{nude.html.erb => minimal.html.erb} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/views/layouts/{nude.html.erb => minimal.html.erb} (100%) diff --git a/app/furniture/marketplace/flyers_controller.rb b/app/furniture/marketplace/flyers_controller.rb index 736af3392..79705fabc 100644 --- a/app/furniture/marketplace/flyers_controller.rb +++ b/app/furniture/marketplace/flyers_controller.rb @@ -2,7 +2,7 @@ class Marketplace class FlyersController < Controller - layout "nude" + layout "minimal" expose :flyer, -> { marketplace.flyer } def show diff --git a/app/views/layouts/nude.html.erb b/app/views/layouts/minimal.html.erb similarity index 100% rename from app/views/layouts/nude.html.erb rename to app/views/layouts/minimal.html.erb