/** * @return \Illuminate\Database\Eloquent\Model */ public function update() { parent::update(); $this->model->name = $this->request->get('name'); }
public function update() { parent::update(); $this->updateTags(TagType::NEWS_TAG(), TagType::NEWS_CATEGORY()); $this->model->publish_date = Carbon::createFromFormat('d/m/Y', $this->request->get('publish_date')); }