質問編集履歴
6
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -337,107 +337,3 @@
|
|
337
337
|
|
338
338
|
|
339
339
|
```
|
340
|
-
|
341
|
-
```
|
342
|
-
|
343
|
-
//5.C:\XAMPP\htdocs\laravelapp\routes\web.php
|
344
|
-
|
345
|
-
<?php
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
use Illuminate\Support\Facades\Route;
|
350
|
-
|
351
|
-
use App\Http\controllers\HelloController;
|
352
|
-
|
353
|
-
use App\Http\controllers\PersonController;
|
354
|
-
|
355
|
-
use App\Http\controllers\BoardController;
|
356
|
-
|
357
|
-
use App\http\controllers\RestappController;
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
use App\Http\Middleware\HelloMiddleware;
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
Route::get('/', function () {
|
366
|
-
|
367
|
-
return view('welcome');
|
368
|
-
|
369
|
-
});
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
Route::get('hello', [HelloController::class,'index']);
|
376
|
-
|
377
|
-
Route::post('hello', [HelloController::class,'post']);
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
Route::get('hello/add', [HelloController::class,'add']);
|
382
|
-
|
383
|
-
Route::post('hello/add', [HelloController::class,'create']);
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
Route::get('hello/edit', [HelloController::class,'edit']);
|
388
|
-
|
389
|
-
Route::post('hello/edit', [HelloController::class,'update']);
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
Route::get('hello/del', [HelloController::class,'del']);
|
394
|
-
|
395
|
-
Route::post('hello/del', [HelloController::class,'remove']);
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
Route::get('hello/show', [HelloController::class,'show']);
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
Route::get('person', [PersonController::class,'index']);
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
Route::get('person/find', [PersonController::class,'find']);
|
408
|
-
|
409
|
-
Route::post('person/find', [PersonController::class,'search']);
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
Route::get('person/add', [PersonController::class,'add']);
|
414
|
-
|
415
|
-
Route::post('person/add', [PersonController::class,'create']);
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
Route::get('person/edit', [PersonController::class,'edit']);
|
420
|
-
|
421
|
-
Route::post('person/edit', [PersonController::class,'update']);
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
Route::get('person/del', [PersonController::class,'delete']);
|
426
|
-
|
427
|
-
Route::post('person/del', [PersonController::class,'remove']);
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
Route::get('board', [BoardController::class,'index']);
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
Route::get('board/add', [BoardController::class,'add']);
|
436
|
-
|
437
|
-
Route::post('board/add', [BoardController::class,'create']);
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
Route::resource('rest', 'RestappController',['only' => ['index', 'show']]);
|
442
|
-
|
443
|
-
```
|
5
マークダウン修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -220,7 +220,7 @@
|
|
220
220
|
|
221
221
|
```
|
222
222
|
|
223
|
-
```
|
223
|
+
```php
|
224
224
|
|
225
225
|
|
226
226
|
|
@@ -440,6 +440,4 @@
|
|
440
440
|
|
441
441
|
Route::resource('rest', 'RestappController',['only' => ['index', 'show']]);
|
442
442
|
|
443
|
-
|
444
|
-
|
445
|
-
|
443
|
+
```
|
4
マークダウン追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -439,3 +439,7 @@
|
|
439
439
|
|
440
440
|
|
441
441
|
Route::resource('rest', 'RestappController',['only' => ['index', 'show']]);
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
---
|
3
namespace App\Models; 変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
<?php
|
72
72
|
|
73
|
-
namespace App
|
73
|
+
namespace App\Models;
|
74
74
|
|
75
75
|
|
76
76
|
|
@@ -130,7 +130,7 @@
|
|
130
130
|
|
131
131
|
use Illuminate\Database\Seeder;
|
132
132
|
|
133
|
-
namespace App
|
133
|
+
namespace App\Models;
|
134
134
|
|
135
135
|
|
136
136
|
|
2
//3....のnamespace App;をnamespace App¥Models;に変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
|
131
131
|
use Illuminate\Database\Seeder;
|
132
132
|
|
133
|
-
|
133
|
+
namespace App¥Models;
|
134
134
|
|
135
135
|
|
136
136
|
|
@@ -224,7 +224,7 @@
|
|
224
224
|
|
225
225
|
|
226
226
|
|
227
|
-
//C:\XAMPP\htdocs\laravelapp\app\Http\Controllers\RestappController.php
|
227
|
+
//5.C:\XAMPP\htdocs\laravelapp\app\Http\Controllers\RestappController.php
|
228
228
|
|
229
229
|
<?php
|
230
230
|
|
1
namespace App;をnamespace App¥Models;に変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
<?php
|
72
72
|
|
73
|
-
namespace App;
|
73
|
+
namespace App¥Models;
|
74
74
|
|
75
75
|
|
76
76
|
|