Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
Merge pull request #540 from elcodi/fix/text-twig-extension
Browse files Browse the repository at this point in the history
Add official twig extension for text
  • Loading branch information
xphere committed Feb 25, 2015
2 parents 25a934f + 3ad8047 commit a7ab025
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function getConfigFiles(array $config)

return [
'services',
'twig',
[
'emails/customerPasswordRemember',
$config['emails']['customer_password_remember']['enabled'],
Expand Down
9 changes: 9 additions & 0 deletions src/Elcodi/Bundle/BambooBundle/Resources/config/twig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:

#
# Twig extensions
#
twig.extension.text:
class: Twig_Extensions_Extension_Text
tags:
- { name: twig.extension }

0 comments on commit a7ab025

Please sign in to comment.