1
0
Fork 0
pixelfed/app/UserInvite.php

16 lines
238 B
PHP
Raw Normal View History

2019-02-16 03:13:24 +00:00
<?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;
}
}