enable custom attributes on new pages

This commit is contained in:
Andrew Brown 2018-11-01 18:47:27 -05:00
parent b0d07a0175
commit f8de631cf8
5 changed files with 5 additions and 6 deletions

View File

@ -6,8 +6,7 @@ class BuildingsController < ContentController
[
:name, :universe_id, :privacy, :page_type
] + [ #<relations>
custom_attribute_values: [:name, :value],
]
end
end

View File

@ -6,8 +6,8 @@ class ConditionsController < ContentController
[
:name, :universe_id, :privacy, :page_type
] + [ #<relations>
custom_attribute_values: [:name, :value],
]
end
end

View File

@ -6,8 +6,8 @@ class JobsController < ContentController
[
:name, :universe_id, :privacy, :page_type
] + [ #<relations>
custom_attribute_values: [:name, :value],
]
end
end

View File

@ -6,8 +6,8 @@ class TraditionsController < ContentController
[
:name, :universe_id, :privacy, :page_type
] + [ #<relations>
custom_attribute_values: [:name, :value],
]
end
end

View File

@ -6,8 +6,8 @@ class VehiclesController < ContentController
[
:name, :universe_id, :privacy
] + [ #<relations>
custom_attribute_values: [:name, :value],
]
end
end