Skip to content

Commit 80b93f3

Browse files
committed
Changed unique key
1 parent bbde598 commit 80b93f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/RoutesFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ protected function isActive($action)
7373
$id = substr($id, strlen($mid) + 1);
7474
}
7575

76-
$id = $action->controller->id . '/' . $id;
76+
$id = $action->controller->getUniqueId() . '/' . $id;
7777
}
7878
else
7979
{
80-
$id = $action->controller->id . '/' . $action->id;
80+
$id = $action->controller->getUniqueId() . '/' . $action->id;
8181
}
8282

8383
return !in_array($id, $this->except, TRUE) && (empty($this->only) || in_array($id, $this->only, TRUE));

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"route",
88
"filter"
99
],
10-
"version": "0.0.3",
10+
"version": "0.0.4",
1111
"type": "yii2-extension",
1212
"license": "BSD",
1313
"authors": [

0 commit comments

Comments
 (0)