Remove providers instanciation in Twig setup

This commit is contained in:
Romain Neutron
2012-09-28 11:59:03 +02:00
parent 23b842d4ca
commit 4677f0e9a2
36 changed files with 75 additions and 78 deletions

View File

@@ -23,6 +23,8 @@
<![endif]-->
</head>
{% set home_title = app['phraseanet.registry'].get('GV_homeTitle') %}
<body>
<div id="page" class="container">
<div id="main" class="row">

View File

@@ -34,7 +34,7 @@
<div id="main" class="row">
<div id="title-box" class="span6 offset3">
<h1 id="namePhr">{{home_title}}</h1>
<h1 id="namePhr">{{ app['phraseanet.registry'].get('GV_homeTitle') }}</h1>
</div>
{% if app['phraseanet.user'] is not none %}