noiselabs / SmartyBundle

Smarty3 template engine bundle for Symfony
http://smartybundle.readthedocs.io/
GNU Lesser General Public License v3.0
51 stars 36 forks source link

Fix render method to allow different strategies other than ESI #38

Closed mlabrum closed 10 years ago

mlabrum commented 10 years ago

This pull request fixes the issue where the render method would ignore what rendering strategy you wanted and only render as ESI

{'Bundle:Controller:Action'|render:[]:['standalone' => true, 'strategy' => 'hinclude']}

would have been rendered as ESI before this fix.

vitorbrandao commented 10 years ago

Merged. Thank you @mlabrum!