Fixed all tests.

This commit is contained in:
James Cole
2014-07-15 07:36:01 +02:00
parent 09b6c4d982
commit 445de5a1d8
7 changed files with 131 additions and 42 deletions

View File

@@ -25,6 +25,7 @@ class Preference extends Elegant
$this->attributes['data'] = json_encode($value);
}
//
public function getDataAttribute($value)
{
return json_decode($value);