Some general cleaning up.

This commit is contained in:
James Cole
2014-11-17 20:45:55 +01:00
parent 36cbb3d71f
commit 696e9a6fde
16 changed files with 103 additions and 168 deletions

View File

@@ -50,19 +50,6 @@ class Reminder extends Ardent
return $this->belongsTo('User');
}
/**
* Expected data in this value:
*
* type: Piggybank, Test
* action_uri: where to go when the user wants to do this?
* text: full text to present to user
* amount: any relevant amount.
* model: id of relevant model.
*
* @param $value
*
* @return mixed
*/
public function getDataAttribute($value)
{
return json_decode($value);