From 2568510f015b21994c11d37121d6a81f36cbafe4 Mon Sep 17 00:00:00 2001 From: did Date: Thu, 31 May 2012 09:41:37 -0700 Subject: [PATCH] fix issue #426 --- lib/locomotive/render.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locomotive/render.rb b/lib/locomotive/render.rb index da492af4..cc478e05 100644 --- a/lib/locomotive/render.rb +++ b/lib/locomotive/render.rb @@ -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