public function showFilePicker($input_id) { $type = Request::input('type'); return $this->app['view']->make($this->package . '::filepicker')->with($this->getViewVars())->with(compact('input_id', 'type')); }