1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added tests for confirmed registration

This commit is contained in:
Dan Brown
2015-09-21 20:54:11 +01:00
parent e8dd7fda1f
commit 1b736ac045
7 changed files with 96 additions and 12 deletions

View File

@ -134,6 +134,10 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
return '//www.gravatar.com/avatar/' . $emailHash . '?s=' . $size . '&d=identicon';
}
/**
* Get the url for editing this user.
* @return string
*/
public function getEditUrl()
{
return '/users/' . $this->id;