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 b427ed4 commit ac70fa0
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\\Places\\": "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.places'
);

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

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

Please sign in to comment.