Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user slugger to define the route for email notifications #15

Merged
merged 1 commit into from
Mar 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow user slugger to define the route for email notifications
imorland committed Dec 12, 2021
commit ccfe7ad44ddd711931d1c1511b821cf3dab2507e
2 changes: 1 addition & 1 deletion resources/views/emails/userCreated.blade.php
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@
'{recipient_display_name}' => $user->display_name,
'{actor_display_name}' => $blueprint->user->display_name,
'{forum_url}' => $url->to('forum')->base(),
'{user_url}' => $url->to('forum')->route('user', ['username' => $blueprint->user->username]),
'{user_url}' => $url->to('forum')->route('user', ['username' => $slugManager->forResource($blueprint->user::class)->toSlug($blueprint->user)]),
]) !!}