質問編集履歴

1

route\.phpを追加しました。

2016/07/01 07:46

投稿

nirakka-
nirakka-

スコア7

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  ###該当のソースコード
42
42
 
43
- ログイン機能でいじったの以下の部分です。
43
+ ログイン機能でいじったの以下の部分です。
44
44
 
45
45
 
46
46
 
@@ -412,7 +412,45 @@
412
412
 
413
413
  ```
414
414
 
415
-
415
+ route.php
416
+
417
+ ```
418
+
419
+ <?php
420
+
421
+
422
+
423
+ /*
424
+
425
+ |--------------------------------------------------------------------------
426
+
427
+ | Application Routes
428
+
429
+ |--------------------------------------------------------------------------
430
+
431
+ |
432
+
433
+ | Here is where you can register all of the routes for an application.
434
+
435
+ | It's a breeze. Simply tell Laravel the URIs it should respond to
436
+
437
+ | and give it the controller to call when that URI is requested.
438
+
439
+ |
440
+
441
+ */
442
+
443
+
444
+
445
+
446
+
447
+ Route::auth();
448
+
449
+
450
+
451
+ Route::get('/home', 'HomeController@index');
452
+
453
+ ```
416
454
 
417
455
 
418
456