Skip to content

Commit ac70fa0

Browse files
committed
database folder
1 parent b427ed4 commit ac70fa0

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"typicms/core": "~1.8.0"
1212
},
1313
"autoload": {
14-
"classmap": [
15-
"src/migrations"
16-
],
1714
"psr-4": {
1815
"TypiCMS\\Modules\\Places\\": "src/"
1916
}

src/Providers/ModuleProvider.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@ class ModuleProvider extends ServiceProvider
2121
public function boot()
2222
{
2323

24+
$this->mergeConfigFrom(
25+
__DIR__ . '/../config/config.php', 'typicms.places'
26+
);
27+
2428
$this->loadViewsFrom(__DIR__ . '/../resources/views/', 'places');
29+
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'places');
30+
2531
$this->publishes([
2632
__DIR__ . '/../views' => base_path('resources/views/vendor/places'),
2733
], 'views');
28-
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'places');
29-
$this->mergeConfigFrom(
30-
__DIR__ . '/../config/config.php', 'typicms.places'
31-
);
3234
$this->publishes([
33-
__DIR__ . '/../migrations/' => base_path('/database/migrations'),
35+
__DIR__ . '/../database' => base_path('database'),
3436
], 'migrations');
3537

3638
AliasLoader::getInstance()->alias(

src/migrations/2014_01_13_094853_create_places_table.php renamed to src/database/migrations/2014_01_13_094853_create_places_table.php

File renamed without changes.

0 commit comments

Comments
 (0)