質問編集履歴

2

質問の修正

2017/08/01 09:46

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  public function uploadfile() {
28
28
 
29
- eturn request()->input('response') === 'json' ? response()->json(['id'=>$file['id'],'name'=>$name]) : $this->search();
29
+ return request()->input('response') === 'json' ? response()->json(['id'=>$file['id'],'name'=>$name]) : $this->search();
30
30
 
31
31
  }
32
32
 

1

一部更新

2017/08/01 09:46

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -25,6 +25,8 @@
25
25
  PublicRegisterController.php
26
26
 
27
27
  public function uploadfile() {
28
+
29
+ eturn request()->input('response') === 'json' ? response()->json(['id'=>$file['id'],'name'=>$name]) : $this->search();
28
30
 
29
31
  }
30
32