Changed way to connect to api
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
\Slim\Views\Blade::class => function(ContainerInterface $container) {
|
||||
return new \Slim\Views\Blade(
|
||||
Slim\Views\Blade::class => function(ContainerInterface $container) {
|
||||
return new Slim\Views\Blade(
|
||||
$container->get('folders')->views,
|
||||
$container->get('folders')->cache,
|
||||
null,
|
||||
[
|
||||
'urls' => $container->get('urls'),
|
||||
'urls' => $container->get('view_urls'),
|
||||
'api_key' => $container->get('api_key')
|
||||
]
|
||||
);
|
||||
|
Reference in New Issue
Block a user