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.
This commit is contained in:
Charles Morgan 2020-05-08 19:31:20 -04:00
parent 2d95204e9a
commit 5eed8b1fe9
No known key found for this signature in database
GPG key ID: D71946CD723249BD

View file

@ -56,6 +56,6 @@ class AddedToServer extends Notification implements ShouldQueue
->greeting('Hello ' . $this->server->user . '!')
->line('You have been added as a subuser for the following server, allowing you certain control over the server.')
->line('Server Name: ' . $this->server->name)
->action('Visit Server', route('server.index', $this->server->uuidShort));
->action('Visit Server', url('/server/' . $this->server->uuidShort));
}
}