Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add images folder to gitignore and load twig text extension in prod e…

…nvironment, to allow truncate filter in news feed
  • Loading branch information...
commit 3d7dfdd2cef0376340a0f2e1fb814e2086976ec1 1 parent cd0ca28
@ricardclau ricardclau authored
View
1  .gitignore
@@ -1,6 +1,7 @@
/web/css
/web/js
/web/bundles/
+/web/images/
/app/bootstrap*
/app/cache/*
/app/logs/*
View
6 app/config/config.yml
@@ -58,3 +58,9 @@ swiftmailer:
jms_security_extra:
secure_controllers: true
secure_all_services: false
+
+services:
+ twig.extension.text:
+ class: Twig_Extensions_Extension_Text
+ tags:
+ - { name: twig.extension }
View
4 app/config/config_dev.yml
@@ -2,10 +2,6 @@ imports:
- { resource: config.yml }
services:
- twig.extension.text:
- class: Twig_Extensions_Extension_Text
- tags:
- - { name: twig.extension }
twig.extension.debug:
class: Twig_Extensions_Extension_Debug
tags:
Please sign in to comment.
Something went wrong with that request. Please try again.