/** * 页面:注册成功,提示激活 * @param string $email 用户注册的邮箱 * @return Response */ public function getSignupSuccess($email) { // 确认是否存在此未激活邮箱 $activation = Activation::whereRaw("email = '{$email}'")->first(); // 数据库中无邮箱,抛出404 is_null($activation) and App::abort(404); // 提示激活 return View::make('authority.signupSuccess')->with('email', $email); }
/** * View: Signuo success, prompts user to activate * @param string $email user E-mail * @return Response */ public function getSignupSuccess($email) { // Confirmed the existence of this inactive mailboxes $activation = Activation::whereRaw("email = '{$email}'")->first(); // No mailboxes in the database, throw 404 is_null($activation) and App::abort(404); // Prompts user to activate return View::make('authority.signupSuccess')->with('email', $email); }