Skip to content

Commit

Permalink
Merge pull request #22 from pratiksh404/analysis-ajdwdo
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
pratiksh404 authored Oct 1, 2021
2 parents bf48291 + a7626a0 commit afa2921
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Services/Adminetic.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ private function indexCreateChildren($route, $class)
$children = [
[
'type' => 'submenu',
'name' => 'All ' . $plural,
'is_active' => request()->routeIs($route . '.index') ? 'active' : '',
'name' => 'All '.$plural,
'is_active' => request()->routeIs($route.'.index') ? 'active' : '',
'link' => adminRedirectRoute($route),
'conditions' => [
[
Expand All @@ -516,8 +516,8 @@ private function indexCreateChildren($route, $class)
],
[
'type' => 'submenu',
'name' => 'Create ' . $route,
'is_active' => request()->routeIs($route . '.create') ? 'active' : '',
'name' => 'Create '.$route,
'is_active' => request()->routeIs($route.'.create') ? 'active' : '',
'link' => adminCreateRoute($route),
'conditions' => [
[
Expand Down

0 comments on commit afa2921

Please sign in to comment.