Commit a7e188a1 authored by Nicolas Widart's avatar Nicolas Widart

Squashed 'Modules/Media/' changes from 519e6a0f..7c04ced

7c04ced Change method signature
203fed9 remove view namespace definitions from start file
b0d3d31 Adding start.php to files array

git-subtree-dir: Modules/Media
git-subtree-split: 7c04ced8b623d5e5e67211b98d29d18cd00e9394
parent 519e6a0f
......@@ -33,7 +33,7 @@ class ImageServiceProvider extends ServiceProvider
$this->app->booting(function()
{
$loader = AliasLoader::getInstance();
$loader->alias('Modules\Media\Image\Facade\Imagy', 'Imagy');
$loader->alias('Imagy', 'Modules\Media\Image\Facade\Imagy');
});
}
......
......@@ -12,5 +12,8 @@
"Modules\\Media\\Providers\\MediaServiceProvider",
"Modules\\Media\\Providers\\RouteServiceProvider",
"Modules\\Media\\Image\\ImageServiceProvider"
],
"files": [
"start.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';
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