1
0
Fork 0
pixelfed/app/Contact.php

19 lines
277 B
PHP
Raw Normal View History

2019-06-06 04:31:25 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Contact extends Model
{
public function user()
{
return $this->belongsTo(User::class);
}
2019-06-07 03:13:32 +00:00
public function adminUrl()
{
return url('/i/admin/contact/show/' . $this->id);
}
2019-06-06 04:31:25 +00:00
}