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 7b2e8c0 commit 0dd4054
Show file tree
Hide file tree
Showing 19 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.
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 @@ -23,18 +23,18 @@ public function boot()
$modules = $this->app['config']['typicms']['modules'];
$this->app['config']->set('typicms.modules', array_merge(['events' => ['linkable_to_page']], $modules));

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

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

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

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

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

0 comments on commit 0dd4054

Please sign in to comment.