From 8eb5e1a11697609f8f7da27c1e7f0d5d547cebfd Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Wed, 4 Jun 2025 22:14:00 -0700 Subject: [PATCH] switch to tailwind layout on dashboard --- app/controllers/main_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 28419370..56b689ab 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -2,10 +2,10 @@ # an associated model class MainController < ApplicationController layout 'tailwind', only: [ - :index, :about_notebook, :for_writers, :for_roleplayers, :for_friends, - :prompts, :dashboard, :table_of_contents + :index, :dashboard, :about_notebook, :for_writers, :for_roleplayers, :for_friends, + :prompts, :table_of_contents ] - layout 'landing', only: [:index, :about_notebook, :for_writers, :for_roleplayers, :for_friends] + 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]