content types can auto-reference them (in a many_to_many relationship for instance)
This commit is contained in:
parent
23600edb1f
commit
f9a6155c19
@ -44,7 +44,7 @@ module Locomotive
|
||||
|
||||
def options_for_content_type
|
||||
current_site.content_types.map do |c|
|
||||
c != @content_type ? [c.name, c.klass_with_custom_fields(:entries).to_s] : nil
|
||||
[c.name, c.klass_with_custom_fields(:entries).to_s]
|
||||
end.compact
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user