Commit bf8c826a by Rinto

new

parent 0c354c2a
...@@ -16,6 +16,7 @@ use App\Models\Jadwal; ...@@ -16,6 +16,7 @@ use App\Models\Jadwal;
| contains the "web" middleware group. Now create something great! | contains the "web" middleware group. Now create something great!
| |
*/ */
Route::get('/',function(){ Route::get('/',function(){
return view('index'); return view('index');
})->middleware('guest'); })->middleware('guest');
...@@ -27,7 +28,7 @@ Route::group(['namespace' => 'auth'],function(){ ...@@ -27,7 +28,7 @@ Route::group(['namespace' => 'auth'],function(){
Auth::logout(); Auth::logout();
return redirect('/'); return redirect('/');
})->name('logout'); })->name('logout');
Route::get('/register','RegisterController@store'); Route::post('/register','RegisterController@store');
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment