Beispiel #1
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  Request $request
  * @return Response
  */
 public function store(Request $request)
 {
     $this->profile->create($request->all());
     Flash::success(trans('profile::profiles.messages.profile created'));
     return redirect()->route('admin.profile.profile.index');
 }
Beispiel #2
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  Request $request
  * @return Response
  */
 public function store(Request $request)
 {
     $this->profile->create($request->all());
     flash()->success(trans('core::core.messages.resource created', ['name' => trans('profile::profiles.title.profiles')]));
     return redirect()->route('admin.profile.profile.index');
 }