Skip to content

Commit

Permalink
database folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Feb 21, 2015
1 parent 52b3fc5 commit ce2ae1e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"typicms/core": "~1.8.0"
},
"autoload": {
"classmap": [
"src/migrations"
],
"psr-4": {
"TypiCMS\\Modules\\Partners\\": "src/"
}
Expand Down
12 changes: 7 additions & 5 deletions src/Providers/ModuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ class ModuleProvider extends ServiceProvider
public function boot()
{

$this->mergeConfigFrom(
__DIR__ . '/../config/config.php', 'typicms.partners'
);

$this->loadViewsFrom(__DIR__ . '/../resources/views/', 'partners');
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'partners');

$this->publishes([
__DIR__ . '/../views' => base_path('resources/views/vendor/partners'),
], 'views');
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'partners');
$this->mergeConfigFrom(
__DIR__ . '/../config/config.php', 'typicms.partners'
);
$this->publishes([
__DIR__ . '/../migrations/' => base_path('/database/migrations'),
__DIR__ . '/../database' => base_path('database'),
], 'migrations');

AliasLoader::getInstance()->alias(
Expand Down
File renamed without changes.

0 comments on commit ce2ae1e

Please sign in to comment.