mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 15:01:27 +00:00
16 lines
238 B
PHP
16 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;
|
||
|
}
|
||
|
}
|