質問編集履歴

1

web\.phpの追記

2017/09/06 22:15

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -66,4 +66,30 @@
66
66
 
67
67
  ```
68
68
 
69
+
70
+
71
+ routes/web.php
72
+
73
+ ```
74
+
75
+ Route::get('/' , 'WelcomeController@index');
76
+
77
+ Route::get('contact' , 'WelcomeController@contact');
78
+
79
+ Route::get('about' , 'PagesController@about');
80
+
81
+ Route::get('articles' , 'ArticlesController@index');
82
+
83
+ Route::get('articles/{id}' , 'ArticlesController@show');
84
+
85
+ Route::get('articles/create' , 'ArticlesController@create');
86
+
87
+ Route::get('articles/{id}' , 'ArticlesController@show');
88
+
89
+
90
+
91
+ ```
92
+
93
+
94
+
69
95
  他に貼ったほうがいいコード、見直すべき事がありましたらご教示ください。