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 7280589 commit 177da65
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\\News\\": "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.news'
);

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

$this->publishes([
__DIR__ . '/../views' => base_path('resources/views/vendor/news'),
], 'views');
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'news');
$this->mergeConfigFrom(
__DIR__ . '/../config/config.php', 'typicms.news'
);
$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 177da65

Please sign in to comment.