예제 #1
0
 /**
  * Constructor
  * 
  * @param Request $request
  */
 public function __construct(Request $request)
 {
     parent::__construct();
     /**
      * Other tables
      */
     $this->middleware('media.image.select:Image', ['only' => ['create', 'edit']]);
 }
예제 #2
0
 /**
  * Constructor
  * 
  * @param Request $request
  */
 public function __construct(Request $request)
 {
     parent::__construct();
     /**
      * Add lookup tables
      */
     $this->middleware('add.lookup.tables:CommentStatus', ['only' => ['index', 'create', 'edit']]);
 }
예제 #3
0
 /**
  * Constructor
  * 
  * @var Request $request
  */
 public function __construct(Request $request)
 {
     parent::__construct();
     /**
      * Add lookup tables
      */
     $this->middleware('add.lookup.tables:Slider', ['only' => ['index', 'create', 'edit']]);
     /**
      * Other tables
      */
     $this->middleware('media.image.select:Image', ['only' => ['create', 'edit']]);
 }
예제 #4
0
 /**
  * Constructor
  * 
  * @var Request $request
  */
 public function __construct(Request $request)
 {
     parent::__construct();
     /**
      * Add lookup tables
      */
     $this->middleware('add.lookup.tables:User', ['only' => ['create', 'edit']]);
     $this->middleware('add.lookup.tables:PageCategory', ['only' => ['create', 'edit']]);
     $this->middleware('add.published.at', ['only' => ['store', 'update']]);
     /**
      * Other tables
      */
     $this->middleware('media.image.select:Image', ['only' => ['create', 'edit']]);
 }
예제 #5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->middleware('media.add.parameters', ['only' => ['store', 'update']]);
     $this->middleware('add.lookup.tables:ImageCategory', ['only' => ['index', 'create', 'edit']]);
 }