FileManager
This commit is contained in:
parent
c8948338bb
commit
f1e0900a7a
131 changed files with 5844 additions and 3081 deletions
|
|
@ -67,7 +67,7 @@ class TravelGuide extends Model
|
|||
];
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'slug', 'text', 'full_text', 'keyword', 'meta_title', 'meta_description', 'meta_keywords', 'country_id', 'box_image_url', 'pos', 'scope', 'active',
|
||||
'name', 'slug', 'text', 'full_text', 'author_id', 'keyword', 'meta_title', 'meta_description', 'meta_keywords', 'country_id', 'box_image_url', 'pos', 'scope', 'active',
|
||||
];
|
||||
|
||||
|
||||
|
|
@ -93,8 +93,13 @@ class TravelGuide extends Model
|
|||
return $iq_content_site->iq_content_tree_node;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function author()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Author', 'author_id', 'id');
|
||||
}
|
||||
|
||||
public static function getScopeOptions($setKey = false){
|
||||
$options = self::$scopes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue