Added more layouts
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user