質問編集履歴
2
{{ csrf_field() }}のバージョン記述変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
<p class="text-danger">{{ $errors->first('body')}}</p>
|
51
51
|
@endif
|
52
52
|
</div>
|
53
|
-
|
53
|
+
{{ csrf_field() }}
|
54
54
|
<button type="submit" name="action" class="btn btn-primary" value="sent">送信する</button>
|
55
55
|
</form>
|
56
56
|
</div>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
<input type="hidden" name="email" class="form-control" id="InputEmail" value="{{ $email }}">
|
94
94
|
<input type="hidden" name="type" class="form-control" id="InputType" value="{{ $type }}">
|
95
95
|
<input type="hidden" name="body" class="form-control" id="InputBody" value="{{ $body }}">
|
96
|
-
|
96
|
+
{{ csrf_field() }}
|
97
97
|
<button type="submit" name="action" class="btn btn-primary" value="back">戻る</button>
|
98
98
|
<button type="submit" name="action" class="btn btn-primary" value="sent">送信</button>
|
99
99
|
</form>
|
1
タイトル、内容少し変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
お問い合わせフォームを
|
1
|
+
お問い合わせフォームを実装中、Class App\Http\Controllers\ContactRequest does not exist のエラーが出てしまう。
|
body
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
お問い合わせフォームを作成しております。
|
2
|
-
フォームに入力後次のページ
|
2
|
+
フォームに入力後次の確認ページに行くときに
|
3
|
+
Class App\Http\Controllers\ContactRequest does not existのエラーが出ます。
|
3
4
|
|
4
5
|
|
5
6
|
問い合わせフォームページ画面
|
@@ -169,4 +170,12 @@
|
|
169
170
|
}
|
170
171
|
}
|
171
172
|
}
|
172
|
-
```
|
173
|
+
```
|
174
|
+
|
175
|
+
試したこと
|
176
|
+
Controller.phpに
|
177
|
+
|
178
|
+
use App\Http\Controllers\ContactRequest;
|
179
|
+
|
180
|
+
```
|
181
|
+
を追記した。けど解消れなかった。
|