Skip to content

Commit

Permalink
Update AdminLoader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Poskin committed Dec 15, 2015
1 parent 6c5f73f commit ab0063e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twig/Loader/AdminLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ class AdminLoader extends FilesystemLoader {
* @param string $template
* @return string
*/
protected function findTemplate($template)
protected function findTemplate($template, $throw = true)
{
$parts = explode(':', $template);
$parts[1] = 'Content';
$defaultTemplate = implode(':', $parts);

return parent::findTemplate($defaultTemplate);
}
}
}

0 comments on commit ab0063e

Please sign in to comment.