| 1 | <?php namespace App\Http\Middleware; |
||
| 6 | class VerifyCsrfTokenForRoutes extends BaseVerifier |
||
| 7 | { |
||
| 8 | |||
| 9 | protected $excludeRoutes = [ |
||
| 10 | 'add_product_image', |
||
| 11 | 'remove_product_image', |
||
| 12 | 'remove_product_spec', |
||
| 13 | 'remove_product_spec_price', |
||
| 14 | 'sort_product_image', |
||
| 15 | 'resend_verify_email', |
||
| 16 | 'involve_product', |
||
| 17 | 'involve_product_cancel', |
||
| 18 | 'vote_vendor', |
||
| 19 | 'filter_category', |
||
| 20 | 'load_product_block_form', |
||
| 21 | 'view_category', |
||
| 22 | 'lot_select_category', |
||
| 23 | 'delete_product', |
||
| 24 | 'load_spec', |
||
| 25 | 'load_spec_price', |
||
| 26 | 'remove_product_improved_spec', |
||
| 27 | 'load_improved_spec', |
||
| 28 | 'delete_group_price', |
||
| 29 | 'load_improved_spec_price', |
||
| 30 | 'load_spec_price_description', |
||
| 31 | 'remove_product_improved_spec_price', |
||
| 32 | 'remove-spec', |
||
| 33 | 'load_spec_price_color', |
||
| 34 | 'remove-group-size-color', |
||
| 35 | 'remove_spec_price_color', |
||
| 36 | 'remove-spec-price-desc', |
||
| 37 | 'published_lot', |
||
| 38 | 'product_specification', |
||
| 39 | 'product_specification_color', |
||
| 40 | 'remove-spec-price-desc' |
||
| 41 | // 'save_product' |
||
| 42 | ]; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Handle an incoming request. |
||
| 46 | * |
||
| 47 | * @param \Illuminate\Http\Request $request |
||
| 48 | * @param \Closure $next |
||
| 49 | * @return mixed |
||
| 50 | */ |
||
| 51 | public function handle($request, Closure $next) |
||
| 59 | } |