codeguy/Slim — Issue #211: settings templates.path
Author: blendsoft
Created: 2012-01-06 21:05:02+00:00
State: open

Hello,

When I want to set templates.path with config() method:
config(array(
'debug' => true,
'templates.path' => 'custom_path',
));

it does not work because templates dir is set by view() method only
which is called from constructor.
so I have to
add
$app->view($app->config('view'));

But i dont want to change view class so calling config should be enough.

Darek.