Пример #1
0
 public function __construct(ShowUser $showUser)
 {
     parent::__construct();
     $this->middleware('guest', array('only' => array('login', 'register')));
     $this->middleware('auth', array('only' => array('index', 'show', 'logout')));
     $this->showUser = $showUser;
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->middleware('auth');
     $this->middleware('auth.admin');
     app('veer')->loadedComponents['template'] = app('veer')->template = $this->template = config('veer.template-admin');
     app('veer')->isBoundSite = false;
 }
Пример #3
0
 public function __construct(ShowAttribute $showAttribute)
 {
     parent::__construct();
     $this->showAttribute = $showAttribute;
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->middleware('auth');
     $this->middleware('auth.admin');
 }
Пример #5
0
 public function __construct(ShowTag $showTag)
 {
     parent::__construct();
     $this->showTag = $showTag;
 }
Пример #6
0
 public function __construct(ShowCategory $showCategory)
 {
     parent::__construct();
     $this->showCategory = $showCategory;
 }
Пример #7
0
 public function __construct(ShowSearch $showSearch)
 {
     parent::__construct();
     $this->showSearch = $showSearch;
 }
Пример #8
0
 public function __construct(ShowOrder $showOrder)
 {
     parent::__construct();
     //$this->beforeFilter('auth', array('only' => array('index', 'show')));
     $this->showOrder = $showOrder;
 }
Пример #9
0
 public function __construct(ShowPage $showPage)
 {
     parent::__construct();
     $this->showPage = $showPage;
 }
Пример #10
0
 public function __construct(ShowFilter $showFilter)
 {
     parent::__construct();
     $this->showFilter = $showFilter;
 }
Пример #11
0
 public function __construct(ShowProduct $showProduct)
 {
     parent::__construct();
     $this->showProduct = $showProduct;
 }