public function boot() { parent::boot(); Route::bind('project', function($id) { return AppProject::withoutGlobalScopes()->findOrFail($id); }); }