public function __construct(GalleryRepositoryInterface $gallery) { $this->repository = $gallery; $this->middleware('web'); $this->middleware('auth:admin.web'); $this->setupTheme(config('theme.themes.admin.theme'), config('theme.themes.admin.layout')); parent::__construct(); }