Skip to content

Commit

Permalink
Merge pull request #46 from rupadana/dev
Browse files Browse the repository at this point in the history
fix: unused static::handlers()
  • Loading branch information
rupadana authored Mar 21, 2024
2 parents 75801de + 6170e94 commit c8f2a6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions config/api-service.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

return [
'navigation' => [
/**
* @deprecated 3.2
*/
'group' => [
'token' => 'User',
],
'token' => [
'group' => 'User',
'sort' => -1,
Expand Down
2 changes: 0 additions & 2 deletions src/ApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public static function registerRoutes(Panel $panel)
->middleware($resourceRouteMiddlewares)
->prefix(static::$groupRouteName ?? $slug)
->group(function (Router $route) {
static::handlers();

foreach (static::handlers() as $key => $handler) {
app($handler)->route($route);
}
Expand Down

0 comments on commit c8f2a6f

Please sign in to comment.