Exemplo n.º 1
0
 /**
  * Send an application form.
  *
  * @param ApplicationRequest $request
  * @return \Illuminate\Http\RedirectResponse
  */
 public function apply(ApplicationRequest $request)
 {
     $this->repository->create(Auth::user(), $request->all());
     return redirect()->route('page.home')->with(['notice' => Lang::get('user.application_submitted')]);
 }