Skip to content

Commit

Permalink
fixed: error opening plugin settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
bhupeshappfoster committed Sep 30, 2022
1 parent 34ddc92 commit e9fe143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public function getCpNavItem(): ?array
public function getSettingsResponse(): mixed
{
// Just redirect to the plugin settings page
Craft::$app->getResponse()->redirect(UrlHelper::cpUrl(Constants::URL_SETTINGS));
return Craft::$app->getResponse()->redirect(UrlHelper::cpUrl(Constants::URL_SETTINGS));
}

protected function createSettingsModel(): ?\craft\base\Model
Expand Down

0 comments on commit e9fe143

Please sign in to comment.