Skip to content

Commit

Permalink
added publish view path
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Apr 27, 2018
1 parent 34829bc commit fd6109d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 30 deletions.
30 changes: 0 additions & 30 deletions resources/views/view.blade.php

This file was deleted.

12 changes: 12 additions & 0 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Module extends ServiceProvider
public function boot()
{
$this->registerResources();
$this->publishFiles();
}

/**
Expand All @@ -41,4 +42,15 @@ protected function registerResources()
$this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
}

/**
* Publish Files for AvoRed Brand Modules.
*
* @return void
*/
public function publishFiles() {
$this->publishes([
__DIR__ . '/../resources/views' => base_path('themes/avored/default/vendor')
],'avored-module-views');
}

}

0 comments on commit fd6109d

Please sign in to comment.