app/controllers/RegistrationController.php
/**
	*	Storing a new user
	*	@return string
	*/
Storing a new user
@return string
Storing a new user @return string
public function store()
	{
		$this->registrationForm->validate(Input::all());
		extract(Input::only('first_name', 'last_name', 'email', 'password'));
		$user = $this->execute(
			new RegisterUserCommand($first_name, $last_name, $email, $password)
		);
		Auth::login($user);
		Flash::message('User Created!');
		return Redirect::route('register')->with('flash_message', 'Welcome aboard!');
	}
public function store ( ) { $ this -> registrationForm -> validate ( Input :: all ( ) ) ; extract ( Input :: only ( 'first_name' , 'last_name' , 'email' , 'password' ) ) ; $ user = $ this -> execute ( new RegisterUserCommand ( $ first_name , $ last_name , $ email , $ password ) ) ; Auth :: login ( $ user ) ; Flash :: message ( 'User Created!' ) ; return Redirect :: route ( 'register' ) -> with ( 'flash_message' , 'Welcome aboard!' ) ; }
Storing a new user
       @return string
Storing a new user @return string
/*return ('flash_message', 'User Created!');*/