コード例 #1
0
ファイル: UserController.php プロジェクト: artemsk/veer-core
 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
ファイル: AdminController.php プロジェクト: artemsk/veer-core
 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
ファイル: ApiController.php プロジェクト: artemsk/veer-core
 public function __construct()
 {
     parent::__construct();
     $this->middleware('auth');
     $this->middleware('auth.admin');
 }
コード例 #5
0
ファイル: TagController.php プロジェクト: artemsk/veer-core
 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
ファイル: OrderController.php プロジェクト: artemsk/veer-core
 public function __construct(ShowOrder $showOrder)
 {
     parent::__construct();
     //$this->beforeFilter('auth', array('only' => array('index', 'show')));
     $this->showOrder = $showOrder;
 }
コード例 #9
0
ファイル: PageController.php プロジェクト: artemsk/veer-core
 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;
 }