回答編集履歴
1
追記
test
CHANGED
@@ -35,3 +35,39 @@
|
|
35
35
|
?>
|
36
36
|
|
37
37
|
```
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
```diff
|
42
|
+
|
43
|
+
<?php
|
44
|
+
|
45
|
+
- namespace App\Http\Controllers\Controller;
|
46
|
+
|
47
|
+
+ namespace App\Http\Controllers;
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
- use App\Http\Controllers\Controller; // いらない
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
class UserController extends Controller
|
56
|
+
|
57
|
+
{
|
58
|
+
|
59
|
+
public function index($message)
|
60
|
+
|
61
|
+
{
|
62
|
+
|
63
|
+
$d = $message;
|
64
|
+
|
65
|
+
return view('top', compact(array($d)));
|
66
|
+
|
67
|
+
}
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
- ?> // 閉じタグいらねい
|
72
|
+
|
73
|
+
```
|