Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Fix redirect path
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wheatley committed Jun 15, 2020
1 parent eacfd3d commit 12e810e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private function redirectBack()
$referrer = explode('/', Craft::$app->request->referrer);
$path = end($referrer) === 'dashboard'
? '/dashboard'
: '/presto/settings/general';
: '/cms/presto/settings/general';

return $this->redirect(UrlHelper::cpUrl($path));
}
Expand Down

0 comments on commit 12e810e

Please sign in to comment.