Skip to content

Commit

Permalink
Update AuthHelper.php
Browse files Browse the repository at this point in the history
fix for update
  • Loading branch information
vanterbit committed Oct 5, 2023
1 parent c07a8f7 commit 2aba167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/AuthHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ private static function getControllerRoutes($module, $namespace, $prefix, &$resu
$className = $namespace . Inflector::id2camel($id) . 'Controller';
if ( strpos($className, '-') === false && class_exists($className) && is_subclass_of($className, 'yii\base\Controller') )
{
//Наші костилі
//== Наші костилі ==
if($className =='Da\User\Controller\AbstractAuthItemController') continue;
if($className =='Da\User\Controller\api\v1\AdminController') continue;
//end
//== end ==
if($id =='admin') continue;
if($prefix . $id =='admin') continue;
if($prefix . $id =='permission') continue;
Expand Down

0 comments on commit 2aba167

Please sign in to comment.