clean up layout clauses

This commit is contained in:
Andrew Brown 2025-06-05 21:18:51 -07:00
parent 8eb5e1a116
commit 875363dd54

View File

@ -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]