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

45 lines
884 B
PHP
Raw Normal View History

<?php
namespace Webkul\Customer\Http\Controllers;
/**
* Account Controlller for the customers
* basically will control the landing
* behavior for custome and group of
* customers.
*
* @author Prashant Singh <prashant.singh852@webkul.com>
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
*/
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.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view($this->_config['view']);
}
}