REFACTORING #1880 @20m: move action log logic into repository

This commit is contained in:
Michal Kváček
2016-11-23 01:03:37 +01:00
parent 2fffea39fa
commit 3aabb8fa7b
5 changed files with 37 additions and 41 deletions
+4 -2
View File
@@ -9,8 +9,6 @@ use Illuminate\Database\Eloquent\Model;
*/
class ActionLog extends Model
{
use ModelTraits\ActionLog;
protected $table = 'action_log';
public $timestamps = false;
protected $fillable = [
@@ -20,4 +18,8 @@ class ActionLog extends Model
'user_agent',
'parameters'
];
protected $casts = [
'parameters' => 'array'
];
}