Exemplo n.º 1
0
 public function getCreate(Model $data)
 {
     parent::getCreate($data);
     // ------------------------------------------------------------------------------------
     // GET WEBSITE LIST
     // ------------------------------------------------------------------------------------
     $this->layout->main->website_list = Website::orderBy('name')->get()->lists('name', '_id');
     return $this->layout;
 }