'title', 'save_to' => 'slug', ]; public function categories() { return $this->belongsTo('Flox\Category', 'category_id'); } }