回答編集履歴

1

追記

2020/06/08 08:47

投稿

phper.k
phper.k

スコア3923

test CHANGED
@@ -9,3 +9,29 @@
9
9
  「リソースコントローラ」の項目をお読みください。
10
10
 
11
11
  [https://readouble.com/laravel/7.x/ja/controllers.html](https://readouble.com/laravel/7.x/ja/controllers.html)
12
+
13
+
14
+
15
+ ---
16
+
17
+
18
+
19
+ ちなみに、こうじゃないですか?
20
+
21
+
22
+
23
+ ```diff
24
+
25
+ - Route::prefix('main')->name('.main')->group(function () {
26
+
27
+ + Route::prefix('main')->name('main.')->group(function () {
28
+
29
+ Route::get('list','MainController@list')->name('list');
30
+
31
+ Route::get('edit','MainController@edit')->name('edit');
32
+
33
+ Route::get('search','MainController@search')->name('search');
34
+
35
+ });
36
+
37
+ ```