Venues public ready for Test

This commit is contained in:
merdan 2020-03-28 13:12:39 +05:00
parent 15041e0357
commit e6cababd99
1 changed files with 3 additions and 3 deletions

View File

@ -26,16 +26,16 @@ class PublicController extends Controller
public function showHomePage(){
$cinema = Category::where('view_type','cinema')
// ->categoryLiveEvents(16)
->limit(1);
->take(1);
$cartoon = Category::where('view_type','exhibition')//todo change to cartoon multik
// ->categoryLiveEvents(16)
->limit(1)
->take(1)
->union($cinema);
$musical = Category::where('view_type','concert')
// ->categoryLiveEvents(8)
->limit(1)
->take(1)
->union($cartoon);
$all = $musical->get();