예제 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  Profile $profile
  * @return Response
  */
 public function destroy(Profile $profile)
 {
     $this->profile->destroy($profile);
     Flash::success(trans('profile::profiles.messages.profile deleted'));
     return redirect()->route('admin.profile.profile.index');
 }
예제 #2
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  Profile $profile
  * @return Response
  */
 public function destroy(Profile $profile)
 {
     $this->profile->destroy($profile);
     flash()->success(trans('core::core.messages.resource deleted', ['name' => trans('profile::profiles.title.profiles')]));
     return redirect()->route('admin.profile.profile.index');
 }