From 875363dd541f21bd72853edbec665f5263a8d7c3 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 5 Jun 2025 21:18:51 -0700 Subject: [PATCH] clean up layout clauses --- app/controllers/main_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 56b689ab..2b3c886a 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -1,11 +1,11 @@ # Controller for top-level pages of the site that do not have # an associated model class MainController < ApplicationController + layout 'landing', only: [:about_notebook, :for_writers, :for_roleplayers, :for_friends] layout 'tailwind', only: [ - :index, :dashboard, :about_notebook, :for_writers, :for_roleplayers, :for_friends, + :index, :dashboard, :prompts, :table_of_contents ] - layout 'landing', only: [:about_notebook, :for_writers, :for_roleplayers, :for_friends] before_action :authenticate_user!, only: [:dashboard, :prompts, :notes, :recent_content] before_action :cache_linkable_content_for_each_content_type, only: [:dashboard, :prompts]