質問編集履歴

1

Controllerのメソッド追加

2016/09/28 00:14

投稿

marrymejyj
marrymejyj

スコア8

test CHANGED
File without changes
test CHANGED
@@ -41,6 +41,20 @@
41
41
  ```
42
42
 
43
43
  Controller
44
+
45
+ ```Laravel5
46
+
47
+ public function searchInput(){
48
+
49
+ $input = Request::all();
50
+
51
+ HotelController::searchHotel($input);
52
+
53
+ return redirect('/');
54
+
55
+ }
56
+
57
+ ```
44
58
 
45
59
  ```Laravel5
46
60