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

Commit

Permalink
Merge pull request #16 from awheatley/feature/redirect-fix
Browse files Browse the repository at this point in the history
Fix redirect path
  • Loading branch information
Peter Bedor authored Jun 15, 2020
2 parents eacfd3d + 12e810e commit 144ee70
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 144ee70

Please sign in to comment.