質問編集履歴
1
ルーティングを該当箇所だけでなく、すべて表示するように変更いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,21 @@
|
|
14
14
|
|
15
15
|
```php
|
16
16
|
|
17
|
+
Route::get('/', 'WordController@index')->name('words.index');
|
18
|
+
|
19
|
+
Route::resource('/words', 'WordController')->except(['index']);
|
20
|
+
|
21
|
+
Route::prefix('/words')->name('words.')->group(function () {
|
22
|
+
|
23
|
+
Route::get('/', 'WordController@search')->name('search');
|
24
|
+
|
17
|
-
Route::get('/
|
25
|
+
Route::get('/autocomplete', 'WordController@autocomplete')->name('autocomplete');
|
26
|
+
|
27
|
+
Route::get('/perfect', 'WordController@perfect')->name('perfect');
|
28
|
+
|
29
|
+
Route::get('/pertial', 'WordController@pertial')->name('pertial');
|
30
|
+
|
31
|
+
});
|
18
32
|
|
19
33
|
```
|
20
34
|
|