teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

2016/11/29 10:31

投稿

gomengo
gomengo

スコア51

title CHANGED
File without changes
body CHANGED
@@ -98,4 +98,6 @@
98
98
  routes/web.php の記載が誤っているのでしょうか。
99
99
 
100
100
  よろしくお願いいたします。
101
- ソースは、多少、省略しています。
101
+ ソースは、多少、省略しています。
102
+
103
+ 後、ある処理をしてから、ログインをしたいので、こんなロジックになってます...

1

web/route\.phpの変更

2016/11/29 10:31

投稿

gomengo
gomengo

スコア51

title CHANGED
File without changes
body CHANGED
@@ -86,11 +86,9 @@
86
86
  Route::group(['middleware' => 'web'], function () {
87
87
 
88
88
  Route::auth();
89
- Route::group(['middleware' => 'auth:web'], function () {
90
- Route::get('/home', 'HomeController@index');
89
+ Route::get('/home', 'HomeController@index');
91
- //authのログイン認証チェック
90
+ //authのログイン認証チェック
92
- Route::post('/auth/redirect', 'Auth\AuthController@redirect');
91
+ Route::post('/auth/redirect', 'Auth\AuthController@redirect');
93
- });
94
92
 
95
93
  });
96
94
  ```