Update Report model

This commit is contained in:
Daniel Supernault 2018-08-26 00:00:20 -06:00
parent 24ee5b1297
commit 60923af897
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
class Report extends Model
{
protected $dates = ['admin_seen'];
public function url()
{
return url('/i/admin/reports/show/' . $this->id);