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

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);