Commit e35ee1a
authored
Inappropriate usage of Parameter Conversion
Under the section `Route Groups and Prefixes`, the action `show` seems to make usage of `Parameter Conversion` technique, though there is no reference for the `Post` class in that code snippet.
I would suggest to replace the parameter `Post $post` to `string $slug` , matching the URL parameter defined above the method `show`.1 parent c0ee11b commit e35ee1a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
| 1183 | + | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| |||
0 commit comments