Skip to content

Commit

Permalink
Support for multiple message files (multiple Bundles)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Haberkern authored and Timo Haberkern committed Nov 23, 2011
1 parent e1aeda0 commit f2e529a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Controller.php
Expand Up @@ -86,7 +86,7 @@ public function exposeTranslationAction($domain_name, $_locale, $_format)

$messages = array();
foreach ($catalogues as $catalogue) {
$messages = array_merge($messages, $catalogue->all());
$messages = array_merge_recursive($messages, $catalogue->all());
}

return new Response($this->engine->render('BazingaExposeTranslationBundle::exposeTranslation.' . $_format . '.twig', array(
Expand Down

0 comments on commit f2e529a

Please sign in to comment.