チェックインの個別ページがログイン要求していたのを解除

This commit is contained in:
shibafu 2018-01-06 19:50:16 +09:00
parent ef38485dfe
commit 6c90cc2383

View File

@ -22,10 +22,10 @@ Route::get('/user/{name?}', 'UserController@profile')->name('user.profile');
Route::get('/user/{name}/stats', 'UserController@stats')->name('user.stats'); Route::get('/user/{name}/stats', 'UserController@stats')->name('user.stats');
Route::get('/user/{name}/okazu', 'UserController@okazu')->name('user.okazu'); Route::get('/user/{name}/okazu', 'UserController@okazu')->name('user.okazu');
Route::get('/checkin/{id}', 'EjaculationController@show')->name('checkin.show');
Route::middleware('auth')->group(function () { Route::middleware('auth')->group(function () {
Route::get('/checkin', 'EjaculationController@create')->name('checkin'); Route::get('/checkin', 'EjaculationController@create')->name('checkin');
Route::post('/checkin', 'EjaculationController@store')->name('checkin'); Route::post('/checkin', 'EjaculationController@store')->name('checkin');
Route::get('/checkin/{id}', 'EjaculationController@show')->name('checkin.show');
Route::get('/checkin/{id}/edit', 'EjaculationController@edit')->name('checkin.edit'); Route::get('/checkin/{id}/edit', 'EjaculationController@edit')->name('checkin.edit');
Route::put('/checkin/{id}', 'EjaculationController@update')->name('checkin.update'); Route::put('/checkin/{id}', 'EjaculationController@update')->name('checkin.update');
Route::delete('/checkin/{id}', 'EjaculationController@destroy')->name('checkin.destroy'); Route::delete('/checkin/{id}', 'EjaculationController@destroy')->name('checkin.destroy');