/** * Constructor * * @param Request $request */ public function __construct(Request $request) { parent::__construct(); /** * Other tables */ $this->middleware('media.image.select:Image', ['only' => ['create', 'edit']]); }
/** * Constructor * * @param Request $request */ public function __construct(Request $request) { parent::__construct(); /** * Add lookup tables */ $this->middleware('add.lookup.tables:CommentStatus', ['only' => ['index', 'create', 'edit']]); }
/** * 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']]); }
/** * 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']]); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->middleware('media.add.parameters', ['only' => ['store', 'update']]); $this->middleware('add.lookup.tables:ImageCategory', ['only' => ['index', 'create', 'edit']]); }