回答編集履歴
1
追記
test
CHANGED
@@ -1,11 +1,55 @@
|
|
1
|
+
```html
|
2
|
+
|
1
|
-
<form class="form-inline" action="bicycleapp/home/searchResults" method="GET">
|
3
|
+
<form class="form-inline" **action="bicycleapp/home/searchResults"** method="GET">
|
4
|
+
|
5
|
+
```
|
2
6
|
|
3
7
|
|
4
8
|
|
5
9
|
↓
|
6
10
|
|
11
|
+
```html
|
12
|
+
|
7
|
-
<form class="form-inline" action="/bicycleapp/home/searchResults" method="GET">
|
13
|
+
<form class="form-inline" **action="/bicycleapp/home/searchResults"** method="GET">
|
14
|
+
|
15
|
+
```
|
8
16
|
|
9
17
|
|
10
18
|
|
11
19
|
これで試してみてください。
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
一応追記です。
|
26
|
+
|
27
|
+
[https://readouble.com/laravel/5.5/ja/routing.html](https://readouble.com/laravel/5.5/ja/routing.html)
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
ルーティングに下記のように名前をつけると、後々便利です。
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
ルーティング
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
```ここに言語を入力
|
40
|
+
|
41
|
+
Route::get('bicycleapp/home',('ItemController@getItem'))->name('item.home');
|
42
|
+
|
43
|
+
Route::get('bicycleapp/home/searchResults',('ItemController@searchResulte'))->name('item.search');
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
blade
|
50
|
+
|
51
|
+
```ここに言語を入力
|
52
|
+
|
53
|
+
<form class="form-inline" action="{{ route('item.search') }}" method="GET">
|
54
|
+
|
55
|
+
```
|