2018-08-24 05:18:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Webkul\Customer\Http\Controllers;
|
|
|
|
|
|
|
|
|
|
class AccountController extends Controller
|
|
|
|
|
{
|
|
|
|
|
/**
|
2019-07-01 11:33:36 +00:00
|
|
|
* Contains route related configuration
|
2018-08-24 05:18:53 +00:00
|
|
|
*
|
2019-07-01 11:33:36 +00:00
|
|
|
* @var array
|
2018-08-24 05:18:53 +00:00
|
|
|
*/
|
|
|
|
|
protected $_config;
|
|
|
|
|
|
2019-07-01 11:33:36 +00:00
|
|
|
/**
|
|
|
|
|
* Create a new controller instance.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function __construct()
|
2018-08-24 05:18:53 +00:00
|
|
|
{
|
2018-08-31 06:03:11 +00:00
|
|
|
$this->middleware('customer');
|
2018-08-24 05:18:53 +00:00
|
|
|
|
|
|
|
|
$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()
|
|
|
|
|
{
|
2018-08-24 05:18:53 +00:00
|
|
|
return view($this->_config['view']);
|
|
|
|
|
}
|
|
|
|
|
}
|