mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
15 lines
422 B
Ruby
15 lines
422 B
Ruby
class WriteController < ApplicationController
|
|
layout 'editor'
|
|
|
|
def editor
|
|
@document = current_user.documents.first
|
|
@linked_entities = []
|
|
@linkables_cache = {}
|
|
@show_footer = false
|
|
# TODO: Allow writers to specify a universe to scope content to, instead of all content
|
|
@characters = current_user.characters
|
|
@locations = current_user.locations
|
|
@items = current_user.items
|
|
end
|
|
end
|