|
|
@ -92,7 +92,8 @@ class ClientController extends Controller
|
|
|
|
__('Video clips') => clipsUrl(),
|
|
|
|
__('Video clips') => clipsUrl(),
|
|
|
|
$clip->title => null,
|
|
|
|
$clip->title => null,
|
|
|
|
];
|
|
|
|
];
|
|
|
|
return view('client.default-list', compact('area', 'clip', 'title', 'subtitle', 'breadcrumb'));
|
|
|
|
$model = $clip;
|
|
|
|
|
|
|
|
return view('client.default-list', compact('area', 'clip', 'title', 'subtitle', 'breadcrumb','model'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function gallery($slug)
|
|
|
|
public function gallery($slug)
|
|
|
@ -175,7 +176,8 @@ class ClientController extends Controller
|
|
|
|
__('Attachments') => attachmentsUrl(),
|
|
|
|
__('Attachments') => attachmentsUrl(),
|
|
|
|
$attachment->title => null,
|
|
|
|
$attachment->title => null,
|
|
|
|
];
|
|
|
|
];
|
|
|
|
return view('client.default-list', compact('area', 'attachment', 'title', 'subtitle', 'breadcrumb'));
|
|
|
|
$model = $attachment;
|
|
|
|
|
|
|
|
return view('client.default-list', compact('area', 'attachment', 'title', 'subtitle', 'breadcrumb','model'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function tag($slug)
|
|
|
|
public function tag($slug)
|
|
|
@ -221,7 +223,9 @@ class ClientController extends Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$comment->parent_id = $request->input('parent_id', null);
|
|
|
|
if ($request->input('parent_id') != '') {
|
|
|
|
|
|
|
|
$comment->parent_id = $request->input('parent_id', null);
|
|
|
|
|
|
|
|
}
|
|
|
|
$comment->body = $request->input('message');
|
|
|
|
$comment->body = $request->input('message');
|
|
|
|
$comment->commentable_type = $request->input('commentable_type');
|
|
|
|
$comment->commentable_type = $request->input('commentable_type');
|
|
|
|
$comment->commentable_id = $request->input('commentable_id');
|
|
|
|
$comment->commentable_id = $request->input('commentable_id');
|
|
|
|