예제 #1
0
 /**
  * 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');
 }
예제 #2
0
 /**
  * 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');
 }