Route::get('password/email', ['as' => 'password/email', 'uses' => 'Auth\\PasswordController@index']); //Post Email to be Recovered Route::post('password/email', ['as' => 'password/postEmail', 'uses' => 'Auth\\PasswordController@sendLink']); //Show Password Reset Form Route::get('password/reset/{email}/{activation_code}', ['as' => 'password/reset/', 'uses' => 'Auth\\PasswordController@reset']); //Grant Request for new password Route::post('password/reset', ['as' => 'password/postReset', 'uses' => 'Auth\\PasswordController@save']); //Activates The User Account Route::get('account/activate/{email}/{activation_code}', 'Auth\\AuthController@activate'); //Send Activation Link to New Registered User Route::post('activate/link', ['as' => 'account/activate/link', 'uses' => 'Auth\\AuthController@sendActivationLink']); //Ask to Resend a Verification Email for Activation Route::get('/resendEmail', 'Auth\\AuthController@resendEmail'); // Route::get('{link?}', ['as' => 'reflink', 'uses' => 'LinkController@getRefLink']); Route::get('materialized', function () { $users = App\User::latest()->get(); $int = App\User::all()->count() * 5; $rfnbonus = intval($int); return view('materialized', compact('users', 'rfnbonus')); }); Route::get('fire', function () { // this fires the event event(new App\Events\IncreaseRfnBonus()); return "Event Fired!"; }); Route::get('api/rfnbonus', function () { $rfnbonus = App\User::all()->count() * 5; return $rfnbonus; }); //test route for broadcasting in the NewsBar Route::get('sender', function () {