fix issue #426
This commit is contained in:
parent
f8725ede67
commit
2568510f01
@ -64,7 +64,7 @@ module Locomotive
|
||||
assigns.merge!(flash.to_hash.stringify_keys) # data from public submissions
|
||||
|
||||
if @page.templatized? # add instance from content type
|
||||
assigns['entry'] = @page.content_entry
|
||||
assigns['content_entry'] = assigns['entry'] = @page.content_entry
|
||||
assigns[@page.target_entry_name] = @page.content_entry # just here to help to write readable liquid code
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user