1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 09:17:03 +00:00
pixelfed/app/UserInvite.php
Daniel Supernault da0b3b5f1c
Add user invites
2019-02-15 20:13:24 -07:00

15 lines
238 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserInvite extends Model
{
public function url()
{
$path = '/i/invite/code';
$url = url($path, [$this->key, $this->token]);
return $url;
}
}