1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-07 14:20:37 +01:00

Merge pull request #665 from micaelpdias/patch-1

Fix undefined method
This commit is contained in:
Oliver Vogel 2017-01-10 15:08:18 +01:00 committed by GitHub
commit 096b56a46e

View File

@ -47,7 +47,7 @@ class ImageServiceProviderLaravel5 extends ServiceProvider
);
// create image
$app['image'] = $app->share(function ($app) {
$app->singleton('image', function ($app) {
return new ImageManager($app['config']->get('image'));
});