title: Laravel 5.2 : Web middleware is applied twice
body: <p>Here is my routes.php code </p>
  
  <pre><code>    Route::auth();
  
      Route::group(['middleware' =&gt; 'web'], function () {
  Route::group(['namespace' =&gt; 'Admin', 'prefix' =&gt; 'admin', 'middleware' =&gt; ['auth','role:Admin']], function(){
  
      Route::get('/home', 'HomeController@index');
  
      Route::get('user/data', ['as' =&gt; 'admin.user.data','uses'=&gt;'UserController@userData']);
      Route::resource('user', 'UserController');
  
      Route::get('merchant/data', ['as' =&gt; 'admin.merchant.data','uses'=&gt;'MerchantController@merchantData']);
      Route::resource('merchant', 'MerchantController');
  
      Route::get('bcategory/data', ['as' =&gt; 'admin.bcategory.data','uses'=&gt;'BusinessCategoryController@bcategoyData']);
      Route::resource('bcategory', 'BusinessCategoryController');
  
      Route::get('ccategory/data', ['as' =&gt; 'admin.ccategory.data','uses'=&gt;'CouponCategoryController@ccategoyData']);
      Route::resource('ccategory', 'CouponCategoryController');
  
      Route::delete('image/{image}', ['as' =&gt; 'admin.image.destroy','uses'=&gt;'ImageController@destroy']);
  
      Route::put('image/{image}/primary', ['as' =&gt; 'admin.image.updateprimary','uses'=&gt;'ImageController@setPrimaryImage']);
  });
  
  Route::group(['namespace' =&gt; 'Merchant', 'prefix' =&gt; 'merchant', 'middleware' =&gt; 'role:Merchant'], function(){
  
   });
  });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zx2zW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zx2zW.png" alt="Route list in php artisan route:list"></a></p>
  
  <p><em>Can anybody please tell me why web route is applied twice i have added only once to group middleware.?</em></p>