回答編集履歴

1

コード追記

2017/11/12 07:13

投稿

aro10
aro10

スコア4106

test CHANGED
@@ -3,6 +3,12 @@
3
3
  ```
4
4
 
5
5
  Route::match(['post','get'], '/admin/auth/', 'AdminController@auth');
6
+
7
+ #メソッドの処理をわけていれば例として
8
+
9
+ Route::match(['get'], '/admin/auth/', 'AdminController@auth_form');
10
+
11
+ Route::match(['post'], '/admin/auth/', 'AdminController@auth');
6
12
 
7
13
  ```
8
14