sarga/packages/Webkul/Shop/src/Http/Controllers/SearchController.php

36 lines
745 B
PHP
Raw Normal View History

2018-10-28 13:23:20 +00:00
<?php
namespace Webkul\Shop\Http\Controllers;
use Webkul\Shop\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
/**
* Search controller
*
* @author Prashant Singh <prashant.singh852@webkul.com> @prashant-webkul
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
*/
class SearchController extends controller
{
protected $_config;
protected $sliders;
protected $current_channel;
public function __construct(Sliders $s)
{
$this->_config = request('_config');
$this->sliders = $s;
}
/**
* Index to handle the view loaded with the search results
*/
public function index($data) {
return redirect()->back();
}
}