public function activateAccount($code, User $user) { if ($user->accountIsActive($code)) { //Session::flash('message', \Lang::get('auth.successActivated') ); return redirect('home')->with('message', \Lang::get('auth.successActivated')); } Session::flash('message', \Lang::get('auth.unsuccessful')); return redirect('home'); }