public function store(Request $request) { $data = $this->getData($request); $data['created_at'] = time(); EntertainModel::create($data); return view(DOMAIN . 'admin/entertain'); }
public function store(Request $request) { $data = $this->getData($request); $data['genre'] = $this->genre; $data['created_at'] = time(); EntertainModel::create($data); return redirect(DOMAIN . 'member/entertainS'); }