質問編集履歴
5
画像
test
CHANGED
File without changes
|
test
CHANGED
@@ -201,3 +201,7 @@
|
|
201
201
|
@endsection
|
202
202
|
|
203
203
|
```
|
204
|
+
|
205
|
+
#各ルート
|
206
|
+
|
207
|
+
![イメージ説明](05285a037b7045a62d675ccc739d8d33.png)
|
4
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,9 +34,9 @@
|
|
34
34
|
|
35
35
|
Route::group(['middleware' => 'auth'], function () {
|
36
36
|
|
37
|
-
Route::resource('goods', '
|
37
|
+
Route::resource('goods', 'GoodsController', ['only' => ['create', 'store', 'destroy']]);
|
38
|
-
|
38
|
+
|
39
|
-
Route::resource('employee', '
|
39
|
+
Route::resource('employee', 'EmployeesController', ['only' => ['index']]);
|
40
40
|
|
41
41
|
});
|
42
42
|
|
3
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,14 +36,10 @@
|
|
36
36
|
|
37
37
|
Route::resource('goods', '`GoodsController', ['only' => ['create', 'store', 'destroy']]);
|
38
38
|
|
39
|
-
Route::resource('employee', '`EmployeesController', ['only' => ['
|
39
|
+
Route::resource('employee', '`EmployeesController', ['only' => ['index']]);
|
40
40
|
|
41
41
|
});
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
Route::resource('employee','EmployeesController',['only'=>['show']]);
|
46
|
-
|
47
43
|
```
|
48
44
|
|
49
45
|
# Employee.php
|
2
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
|
131
131
|
```
|
132
132
|
|
133
|
-
# index.php
|
133
|
+
# index.blade.php
|
134
134
|
|
135
135
|
```
|
136
136
|
|
1
文章の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
DBの情報を表示したい
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
**表題の通りDBの情報をビューで表示したいのですが、
|
1
|
+
**表題の通りDBの情報をビューで表示したいのですが、上手くいかずエラーが発生するため、解決に向けご教示をお願いします。**
|
2
2
|
|
3
3
|
|
4
4
|
|