This commit is contained in:
rahul shukla 2019-12-11 15:25:19 +05:30
parent 8948aeaea7
commit dbf404d13f
3 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,9 @@ use Webkul\Core\Repositories\LocaleRepository as Locale;
/**
* Pass the class instance through admin middleware
*/
$this->middleware('auth:admin');
// $this->middleware('auth:admin');
$this->middleware('admin');
/**
* Channel repository instance

View File

@ -60,7 +60,7 @@ class OrderController extends Controller
/**
* Display a listing of the resource.
*
* @return \Illuminate\View\View
* @return \Illuminate\View\View
*/
public function index()
{
@ -71,7 +71,7 @@ class OrderController extends Controller
* Show the view for the specified resource.
*
* @param int $id
* @return \Illuminate\View\View
* @return \Illuminate\View\View
*/
public function view($id)
{

0
public/index.php Executable file → Normal file
View File