This commit is contained in:
did 2012-05-31 09:41:37 -07:00
parent f8725ede67
commit 2568510f01

View File

@ -64,7 +64,7 @@ module Locomotive
assigns.merge!(flash.to_hash.stringify_keys) # data from public submissions assigns.merge!(flash.to_hash.stringify_keys) # data from public submissions
if @page.templatized? # add instance from content type 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 assigns[@page.target_entry_name] = @page.content_entry # just here to help to write readable liquid code
end end