diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index d46b510a..cf372e48 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -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 ) + [ diff --git a/app/controllers/languages_controller.rb b/app/controllers/languages_controller.rb index cefb40fe..b8a7afb2 100644 --- a/app/controllers/languages_controller.rb +++ b/app/controllers/languages_controller.rb @@ -12,7 +12,7 @@ class LanguagesController < ContentController phonology grammar numbers quantifiers - notes private_notes + notes private_notes privacy ) + [ custom_attribute_values: [:name, :value] ] diff --git a/app/controllers/magics_controller.rb b/app/controllers/magics_controller.rb index bfe923a8..df04fa18 100644 --- a/app/controllers/magics_controller.rb +++ b/app/controllers/magics_controller.rb @@ -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] diff --git a/app/controllers/races_controller.rb b/app/controllers/races_controller.rb index a32c7645..d1169585 100644 --- a/app/controllers/races_controller.rb +++ b/app/controllers/races_controller.rb @@ -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 diff --git a/app/controllers/religions_controller.rb b/app/controllers/religions_controller.rb index 453b2eec..1aba4282 100644 --- a/app/controllers/religions_controller.rb +++ b/app/controllers/religions_controller.rb @@ -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], diff --git a/app/controllers/scenes_controller.rb b/app/controllers/scenes_controller.rb index 5002ea3b..2c5315a0 100644 --- a/app/controllers/scenes_controller.rb +++ b/app/controllers/scenes_controller.rb @@ -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],