small failsafe
This commit is contained in:
parent
b0c2d46c48
commit
528cd02588
@ -3,7 +3,7 @@ module Merged
|
||||
include ViewHelper #for previews
|
||||
|
||||
def card_section_select
|
||||
Section.where.not(card_template: "").collect{|s| ["#{s.page.name}: #{s.header}" , s.id]}
|
||||
Section.where.not(card_template: "").collect{|s| ["#{s.page&.name}: #{s.header}" , s.id]}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user