1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/EmailVerification.php
2018-06-13 23:30:43 -06:00

15 lines
291 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class EmailVerification extends Model
{
public function url()
{
$base = config('app.url');
$path = '/i/confirm-email/' . $this->user_token . '/' . $this->random_token;
return "{$base}{$path}";
}
}