mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Fix privacy not being allowed to be modified on half the content #whoops
This commit is contained in:
parent
631f68164b
commit
7fe2a6eb8c
@ -8,7 +8,7 @@ class GroupsController < ContentController
|
||||
def content_param_list
|
||||
%i(
|
||||
name description other_names universe_id
|
||||
organization_structure
|
||||
organization_structure privacy
|
||||
motivation goal obstacles risks
|
||||
inventory notes private_notes
|
||||
) + [
|
||||
|
||||
@ -12,7 +12,7 @@ class LanguagesController < ContentController
|
||||
phonology
|
||||
grammar
|
||||
numbers quantifiers
|
||||
notes private_notes
|
||||
notes private_notes privacy
|
||||
) + [
|
||||
custom_attribute_values: [:name, :value]
|
||||
]
|
||||
|
||||
@ -9,7 +9,7 @@ class MagicsController < ContentController
|
||||
%i(
|
||||
name description type_of universe_id visuals effects positive_effects
|
||||
negative_effects neutral_effects element resource_costs materials
|
||||
skills_required limitations notes private_notes
|
||||
skills_required limitations notes private_notes privacy
|
||||
) + [
|
||||
custom_attribute_values: [:name, :value],
|
||||
magic_deityships_attributes: [:id, :deity_id, :_destroy]
|
||||
|
||||
@ -9,7 +9,7 @@ class RacesController < ContentController
|
||||
%i(
|
||||
name description other_names universe_id
|
||||
body_shape skin_colors height weight notable_features variance clothing
|
||||
strengths weaknesses
|
||||
strengths weaknesses privacy
|
||||
traditions beliefs governments technologies occupations economics favorite_foods
|
||||
notable_events
|
||||
notes private_notes
|
||||
|
||||
@ -11,7 +11,7 @@ class ReligionsController < ContentController
|
||||
origin_story
|
||||
teachings prophecies places_of_worship worship_services obligations paradise
|
||||
initiation rituals holidays
|
||||
notes private_notes
|
||||
notes private_notes privacy
|
||||
) + [
|
||||
custom_attribute_values: [:name, :value],
|
||||
religious_figureships_attributes: [:id, :notable_figure_id, :_destroy],
|
||||
|
||||
@ -9,7 +9,7 @@ class ScenesController < ContentController
|
||||
%i(
|
||||
name summary universe_id
|
||||
cause description results
|
||||
notes private_notes
|
||||
notes private_notes privacy
|
||||
) + [
|
||||
custom_attribute_values: [:name, :value],
|
||||
scene_characterships_attributes: [:id, :scene_character_id, :_destroy],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user