Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 17, 2020
1 parent 19e89d3 commit d46b702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AdminCurrencyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function init()

$this->generateAccessActions = false;
$this->accessCallback = function () {
if (!\Yii::$app->cms->site->is_default) {
if (!\Yii::$app->skeeks->site->is_default) {
return false;
}
return \Yii::$app->user->can($this->uniqueId);
Expand Down

0 comments on commit d46b702

Please sign in to comment.