WEBAPP NEW UI FIRST COMMIT
This commit is contained in:
23
app/Providers/ViewServiceProvider.php
Executable file
23
app/Providers/ViewServiceProvider.php
Executable file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Facades\View;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class ViewServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->loadMigrationsFrom(__DIR__ . '/../../migrations');
|
||||
$this->loadViewsFrom(__DIR__ . '/../../resources/views', 'Views');
|
||||
$prefix = "http://localhost/sysworkflowviena/en/neoclassic/cases/viena";
|
||||
View::share('rootPath', $prefix);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user