Skip to content

Commit

Permalink
files moved
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Mar 10, 2021
1 parent 554ff7d commit 440f1b8
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 35 deletions.
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

File renamed without changes.
18 changes: 0 additions & 18 deletions phpunit.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/Providers/ModuleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ public function boot()
$modules = $this->app['config']['typicms']['modules'];
$this->app['config']->set('typicms.modules', array_merge(['files' => []], $modules));

$this->loadViewsFrom(__DIR__.'/../resources/views/', 'files');
$this->loadViewsFrom(__DIR__.'/../../resources/views/', 'files');

$this->publishes([
__DIR__.'/../database/migrations/create_files_table.php.stub' => getMigrationFileName('create_files_table'),
__DIR__.'/../database/migrations/create_model_has_files_table.php.stub' => getMigrationFileName('create_model_has_files_table'),
__DIR__.'/../../database/migrations/create_files_table.php.stub' => getMigrationFileName('create_files_table'),
__DIR__.'/../../database/migrations/create_model_has_files_table.php.stub' => getMigrationFileName('create_model_has_files_table'),
], 'migrations');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/files'),
__DIR__.'/../../resources/views' => resource_path('views/vendor/files'),
], 'views');

AliasLoader::getInstance()->alias('Files', Files::class);
Expand Down

0 comments on commit 440f1b8

Please sign in to comment.