auth(__FUNCTION__); return response()->json(ConfiguracaoService::edit(), Response::HTTP_OK); } public function update(Request $request) { $this->auth(__FUNCTION__); return response()->json(ConfiguracaoService::update($request), Response::HTTP_OK); } }