回答編集履歴

1

match

2018/02/09 05:28

投稿

m.ts10806
m.ts10806

スコア80852

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ```php
8
8
 
9
- Route::get('{funcname}/{action}/{target}',' DispatchController@index');
9
+ Route::match(['get', 'post'],'{funcname}/{action}/{target}',' DispatchController@index');
10
10
 
11
11
  ```
12
12