sarga/packages/Webkul/Customer/src/Http/Controllers/AccountController.php

36 lines
612 B
PHP
Raw Normal View History

<?php
namespace Webkul\Customer\Http\Controllers;
class AccountController extends Controller
{
/**
2019-07-01 11:33:36 +00:00
* Contains route related configuration
*
2019-07-01 11:33:36 +00:00
* @var array
*/
protected $_config;
2019-07-01 11:33:36 +00:00
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('customer');
$this->_config = request('_config');
}
2019-07-01 11:33:36 +00:00
/**
* Display a listing of the resource.
*
2019-08-19 09:30:24 +00:00
* @return \Illuminate\View\View
2019-07-01 11:33:36 +00:00
*/
public function index()
{
return view($this->_config['view']);
}
}