質問編集履歴

1

情報の追加のため

2020/07/25 05:59

投稿

kuwabaraakinori
kuwabaraakinori

スコア10

test CHANGED
File without changes
test CHANGED
@@ -286,6 +286,8 @@
286
286
 
287
287
 
288
288
 
289
+
290
+
289
291
  ```contentconfirmbladephp
290
292
 
291
293
  @extends('layouts.app')
@@ -374,6 +376,42 @@
374
376
 
375
377
  ```
376
378
 
379
+ ```ここに言語を入力
380
+
381
+ Route::get('/' , 'ContentController@index')->name('index');
382
+
383
+
384
+
385
+ Route::get('signup', 'Auth\RegisterController@showRegistrationForm')->name('signup.get');
386
+
387
+ Route::post('signup', 'Auth\RegisterController@register')->name('signup.post');
388
+
389
+ Route::get('login' , 'Auth\LoginController@showLoginForm')->name('login');
390
+
391
+ Route::post('login' , 'Auth\LoginController@login')->name('login.post');
392
+
393
+ Route::get('logout' , 'Auth\LoginController@logout')->name('logout.get');
394
+
395
+ Route::get('search' , 'SearchController@index')->name('search');
396
+
397
+ Route::group(['middleware' => ['auth']], function(){
398
+
399
+ Route::resource('/content' , 'ContentController' , ['except'=>['index' ]]);
400
+
401
+ Route::resource('users', 'UsersController', ['only' => ['index', 'show']]);
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+ });
412
+
413
+ ```
414
+
377
415
 
378
416
 
379
417
  ### 試したこと