mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
16 lines
497 B
Ruby
16 lines
497 B
Ruby
class CustomizationController < ApplicationController
|
|
def content_types
|
|
#todo find where these were universally defined and use that instead :(
|
|
@all_content_types = [
|
|
Universe, Character, Location, Item, Creature, Race,
|
|
Religion, Group, Magic, Language, Scene, Flora
|
|
]
|
|
|
|
@premium_content_types = [
|
|
Creature, Race, Religion, Group, Magic, Language, Scene, Flora
|
|
]
|
|
|
|
@my_activators = current_user.user_content_type_activators.pluck(:content_type)
|
|
end
|
|
end
|