Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Pagination\Paginator;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
// Lazy loading, atribut hilang, dan atribut terbuang menjadi error selama pengembangan.
|
||||
Model::shouldBeStrict(! $this->app->isProduction());
|
||||
|
||||
Paginator::defaultView('pagination.siakad');
|
||||
Paginator::defaultSimpleView('pagination.siakad');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user