public function post_view_log(Request $request, ThreeStepLog $three_step_log, ThreeStepAdmin $three_step_admin) { // $validation_rules = $three_step_log->getValidationRulesViewLog(); // $this->validate($request, $validation_rules); // $arr_request = $three_step_log->getRequestArrayViewLog($request); // $obj_three_step_log = $three_step_log->where(); $obj_three_step_log = $three_step_log->all(); $data = $three_step_admin->getDataArrayViewLog($obj_three_step_log, $this->arr_logged_in_user); return view('three_step_admin/view_log_results')->with('data', $data); }