mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-21 09:42:50 +01:00
Default setting attribute
This commit is contained in:
parent
a6cdfaf63f
commit
3cbb500de7
@ -21,6 +21,15 @@ class Setting extends Model
|
||||
*/
|
||||
protected $fillable = ['name', 'value'];
|
||||
|
||||
/**
|
||||
* List of attributes that have default values.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $attributes = [
|
||||
'value' => '',
|
||||
];
|
||||
|
||||
/**
|
||||
* Returns a setting from the database.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user