Skip to content

Commit 5eed8b1

Browse files
Fix Subuser welcome email
When calling `route('server.index')` it appends `/api/servers` Not sure if this is a proper solution or not, but it fixes the issue.
1 parent 2d95204 commit 5eed8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Notifications/AddedToServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ public function toMail($notifiable)
5656
->greeting('Hello ' . $this->server->user . '!')
5757
->line('You have been added as a subuser for the following server, allowing you certain control over the server.')
5858
->line('Server Name: ' . $this->server->name)
59-
->action('Visit Server', route('server.index', $this->server->uuidShort));
59+
->action('Visit Server', url('/server/' . $this->server->uuidShort));
6060
}
6161
}

0 commit comments

Comments
 (0)