/** * 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'); }
/** * 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'); }