mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
remove old_column_source error
This commit is contained in:
parent
980142ff3e
commit
02560bb0dc
@ -122,6 +122,7 @@ class ContentSerializer
|
||||
# to link code, then looking up again later) but since this is just stopgap
|
||||
# code to standardize links in views this should be fine for now.
|
||||
if attribute_field.old_column_source.present?
|
||||
# raise "wee"
|
||||
self.raw_model.send(attribute_field.old_column_source).map { |page| "#{page.page_type}-#{page.id}" }
|
||||
else
|
||||
[]
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
prompt="Please select at least one page type for this field to link to"
|
||||
class="autosave-closest-form-on-change"
|
||||
>
|
||||
<%=
|
||||
<%=
|
||||
options_for_select(
|
||||
Rails.application.config.content_types[:all].map { |klass| [klass.name.pluralize, klass.name] },
|
||||
field.migrated_from_legacy? \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user