mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
enable custom attributes on new pages
This commit is contained in:
parent
b0d07a0175
commit
f8de631cf8
@ -6,8 +6,7 @@ class BuildingsController < ContentController
|
||||
[
|
||||
:name, :universe_id, :privacy, :page_type
|
||||
] + [ #<relations>
|
||||
|
||||
custom_attribute_values: [:name, :value],
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
@ -6,8 +6,8 @@ class ConditionsController < ContentController
|
||||
[
|
||||
:name, :universe_id, :privacy, :page_type
|
||||
] + [ #<relations>
|
||||
custom_attribute_values: [:name, :value],
|
||||
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
@ -6,8 +6,8 @@ class JobsController < ContentController
|
||||
[
|
||||
:name, :universe_id, :privacy, :page_type
|
||||
] + [ #<relations>
|
||||
custom_attribute_values: [:name, :value],
|
||||
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
@ -6,8 +6,8 @@ class TraditionsController < ContentController
|
||||
[
|
||||
:name, :universe_id, :privacy, :page_type
|
||||
] + [ #<relations>
|
||||
custom_attribute_values: [:name, :value],
|
||||
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
@ -6,8 +6,8 @@ class VehiclesController < ContentController
|
||||
[
|
||||
:name, :universe_id, :privacy
|
||||
] + [ #<relations>
|
||||
custom_attribute_values: [:name, :value],
|
||||
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user