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 8a3cb78 commit 539dfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AdminMeasureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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 539dfe0

Please sign in to comment.