app/Http/Controllers/Validacion/ValidacionController.php
/**
	 * Handle a registration request for the application.
	 *
	 * @param  \Illuminate\Http\Request  $request
	 * @return \Illuminate\Http\Response
	 */
Handle a registration request for the application.
Handle a registration request for the application .
public function postRegistro(Request $request)
	{
		$validator = $this->registrar->validator($request->all());
		if ($validator->fails())
		{
			$this->throwValidationException(
				$request, $validator
			);
		}
		$this->auth->login($this->registrar->create($request->all()));
		return redirect($this->redirectPath());
	}
public function postRegistro ( Request $ request ) { $ validator = $ this -> registrar -> validator ( $ request -> all ( ) ) ; if ( $ validator -> fails ( ) ) { $ this -> throwValidationException ( $ request , $ validator ) ; } $ this -> auth -> login ( $ this -> registrar -> create ( $ request -> all ( ) ) ) ; return redirect ( $ this -> redirectPath ( ) ) ; }
Handle a registration request for the application.
Handle a registration request for the application .