1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00
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
}