Mcuhos cambios .w.
This commit is contained in:
@@ -13,7 +13,7 @@ class Restaurante extends Model {
|
||||
use UuidPrimaryKey, SoftDeletes;
|
||||
|
||||
protected $table = 'restaurantes';
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'pivot'];
|
||||
protected $fillable = ['id', 'nombre'];
|
||||
|
||||
public static function findOrFail($id) {
|
||||
|
||||
Reference in New Issue
Block a user