Added more layouts

This commit is contained in:
Deon George
2018-04-23 20:24:26 +10:00
parent 2987e622de
commit 6217dd53ea
8 changed files with 158 additions and 6 deletions

View File

@@ -22,11 +22,8 @@ class LeenooksServiceProvider extends ServiceProvider
*/
public function boot(Router $router)
{
$this->loadViewsFrom($this->_path.'/resources/themes/adminlte/views/', 'adminlte');
# $this->loadViewsFrom($this->_path.'/resources/views/', 'adminlte');
$this->loadTranslationsFrom($this->_path.'/resources/themes/adminlte/lang/', 'adminlte_lang');
//dd($this->views());
}
/**
@@ -38,9 +35,7 @@ class LeenooksServiceProvider extends ServiceProvider
{
if (! $this->_path) {
$this->_path = realpath(__DIR__.'/../../');
define('LEENOOKS',realpath(__DIR__.'/../../'));
}
//$this->publishes($this->views());
}
/**
@@ -51,7 +46,7 @@ define('LEENOOKS',realpath(__DIR__.'/../../'));
public function views()
{
return [
LEENOOKS.'/resources/views/auth' =>
$this->_path.'/resources/views/auth' =>
resource_path('views/vendor/adminlte/auth'),
$this->_path.'/resources/views/errors' =>
resource_path('views/vendor/adminlte/errors'),