AS
Size: a a a
AS
ИФ
'id' => 'required|integer|exists,table
v
RS
public function postsByTag($tag_slug){
$tagInstance = Tag::where('name', $tag_slug)->first();
$messagesByTag = $tagInstance->messages();
return view('community.posts-by-tag', compact('messagesByTag', 'tagInstance'));
}
RS
RS
RS
public function messages() {
return $this->belongsTo("App\Message");
}
RR
RS
RR
RR
RS
RR
RR
С
С
v
С
С
С