1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Extracted icon helper, aligned container resolution

Also updated breadcrumb view composer to current standards.
Closes #4553
This commit is contained in:
Dan Brown
2023-09-16 18:25:08 +01:00
parent 54791c8627
commit b292cf7090
8 changed files with 54 additions and 56 deletions

View File

@@ -374,7 +374,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
*/
public function refreshSlug(): string
{
$this->slug = app(SlugGenerator::class)->generate($this);
$this->slug = app()->make(SlugGenerator::class)->generate($this);
return $this->slug;
}