Commit a0173373 authored by Nicolas Widart's avatar Nicolas Widart

Merge commit 'a7e188a1'

* commit 'a7e188a1':
  Squashed 'Modules/Media/' changes from 519e6a0f..7c04ced
parents 45ce00f4 a7e188a1
...@@ -33,7 +33,7 @@ class ImageServiceProvider extends ServiceProvider ...@@ -33,7 +33,7 @@ class ImageServiceProvider extends ServiceProvider
$this->app->booting(function() $this->app->booting(function()
{ {
$loader = AliasLoader::getInstance(); $loader = AliasLoader::getInstance();
$loader->alias('Modules\Media\Image\Facade\Imagy', 'Imagy'); $loader->alias('Imagy', 'Modules\Media\Image\Facade\Imagy');
}); });
} }
......
...@@ -12,5 +12,8 @@ ...@@ -12,5 +12,8 @@
"Modules\\Media\\Providers\\MediaServiceProvider", "Modules\\Media\\Providers\\MediaServiceProvider",
"Modules\\Media\\Providers\\RouteServiceProvider", "Modules\\Media\\Providers\\RouteServiceProvider",
"Modules\\Media\\Image\\ImageServiceProvider" "Modules\\Media\\Image\\ImageServiceProvider"
],
"files": [
"start.php"
] ]
} }
<?php <?php
/*
|--------------------------------------------------------------------------
| Register The Module Namespaces
|--------------------------------------------------------------------------
|
| Here is you can register the namespace for this module.
| You may to edit this namespace if you want.
|
*/
View::addNamespace('media', __DIR__ . '/Resources/views/');
Lang::addNamespace('media', __DIR__ . '/Resources/lang/');
Config::addNamespace('media', __DIR__ . '/Config/');
require __DIR__ . '/composers.php'; require __DIR__ . '/composers.php';
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