Fix undefined payload method

Twig error thrown in admin dashboard
Merge pull request #36 from willdurand/fix-undefined-payload-method-in-tpl

Fix undefined payload method