I try to use assetic with php template like this :
?php foreach ($view['assetic']-stylesheets(array('public/css/*'))
as $url): ?
link rel=stylesheet type=text/css media=screen href=?
php echo $view-escape($url) ? /
?php endforeach; ?
But it doesn't work.
I have the error :
Route
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
is this in dev or production mode? if in production, did you generate
the assets with
app/console assetic:dump
?
cheers,david
Am 22.05.2011 14:23, schrieb John Blobsmith:
I try to use assetic with php template like this :
?php foreach
Where are your stylesheets located in your project directory — web/public/css/*
??
On Sunday, May 22, 2011 at 5:23 AM, John Blobsmith wrote:
I try to use assetic with php template like this :
?php foreach ($view['assetic']-stylesheets(array('public/css/*'))
as $url): ?
link rel=stylesheet