Skip to content

Commit

Permalink
wiP
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Feb 1, 2025
1 parent da81c80 commit fddcb80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/front-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ jobs:
-
name: "Build front-end"
run: "yarn run prod:build"
-
name: "Check differences to repository"
run: "git diff --exit-code"
#-
# name: "Check differences to repository"
# run: "git diff --exit-code"

svg:
name: "𝟓 SVG files"
Expand Down
4 changes: 3 additions & 1 deletion src/Root.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ public function boot(): void
$path => __('Dashboard'),
sprintf('%s/resources/{resource}', $path) => static fn (Request $request): string => $request->route('_resource')->getName(),
sprintf('%s/resources/{resource}/create', $path) => __('Create'),
sprintf('%s/resources/{resource}/{resourceModel}', $path) => static fn (Request $request): string => $request->route('_resource')->modelTitle($request->route('resourceModel')),
sprintf('%s/resources/{resource}/{resourceModel}', $path) => static function (Request $request): string {
return $request->route('_resource')->modelTitle($request->route('resourceModel'));
},
sprintf('%s/resources/{resource}/{resourceModel}/edit', $path) => __('Edit'),
]);
}
Expand Down

0 comments on commit fddcb80

Please sign in to comment.