/** * Update the specified resource in storage. * * @param Profile $profile * @param Request $request * @return Response */ public function update(Profile $profile, Request $request) { $this->profile->update($profile, $request->all()); Flash::success(trans('profile::profiles.messages.profile updated')); return redirect()->route('admin.profile.profile.index'); }
/** * Update the specified resource in storage. * * @param Profile $profile * @param Request $request * @return Response */ public function update(Profile $profile, Request $request) { $this->profile->update($profile, $request->all()); flash()->success(trans('core::core.messages.resource updated', ['name' => trans('profile::profiles.title.profiles')])); return redirect()->route('admin.profile.profile.index'); }