mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
clean up layout clauses
This commit is contained in:
parent
8eb5e1a116
commit
875363dd54
@ -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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user