Commit 337cb5b4 authored by Nicolas Widart's avatar Nicolas Widart

Fixing the aliasloader params

parent 157e0894
<?php namespace Modules\Media\Image;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServiceProvider;
use Modules\Media\Image\Intervention\InterventionFactory;
......@@ -29,7 +30,7 @@ class ImageServiceProvider extends ServiceProvider
$this->app->booting(function()
{
$loader = AliasLoader::getInstance();
$loader->alias('Imagy', 'Modules\Media\Image\Facade\Imagy');
$loader->alias('Modules\Media\Image\Facade\Imagy', 'Imagy');
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment