Fix privacy not being allowed to be modified on half the content #whoops

This commit is contained in:
Andrew Brown 2017-01-21 19:16:11 +00:00
parent 631f68164b
commit 7fe2a6eb8c
6 changed files with 6 additions and 6 deletions

View File

@ -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
) + [

View File

@ -12,7 +12,7 @@ class LanguagesController < ContentController
phonology
grammar
numbers quantifiers
notes private_notes
notes private_notes privacy
) + [
custom_attribute_values: [:name, :value]
]

View File

@ -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]

View File

@ -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

View File

@ -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],

View File

@ -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],