Settings can now be updated

This commit is contained in:
James Brooks
2014-12-20 17:50:47 +00:00
parent 39441245b3
commit 77913b59db
4 changed files with 43 additions and 16 deletions

View File

@@ -1,6 +1,8 @@
<?php
class Setting extends Eloquent {
protected $fillable = ['name', 'value'];
/**
* Returns a setting from the database.
* @param string $settingName