From 22ba6cbecb99090d00ef5879e6f0ae166d6057bf Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 5 Nov 2017 12:42:58 -0600 Subject: [PATCH] Fix subuser URL redirect, closes #723 --- CHANGELOG.md | 1 + app/Http/Controllers/Server/SubuserController.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 644f9e8ef..0c8e8f8d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. ### Fixed * `[beta.1]` — Fixes a CORS header issue due to a wrong API endpoint being provided in the administrative node listing. * `[beta.1]` — Fixes bug that would prevent root admins from accessing servers they were not set as the owner of. +* `[beta.1]` — Fixes wrong URL redirect being provided when creating a subuser. ## v0.7.0-beta.1 (Derelict Dermodactylus) ### Added diff --git a/app/Http/Controllers/Server/SubuserController.php b/app/Http/Controllers/Server/SubuserController.php index 00d7b9291..b507bbb45 100644 --- a/app/Http/Controllers/Server/SubuserController.php +++ b/app/Http/Controllers/Server/SubuserController.php @@ -172,7 +172,7 @@ class SubuserController extends Controller return redirect()->route('server.subusers.view', [ 'uuid' => $server->uuid, - 'id' => $subuser->id, + 'id' => $subuser->hashid, ]); }