public function index() { $SliderImages = SliderImages::all(); $top = Top::all(); $tab = TabCategoris::all(); return View::make('main.index')->with('slider', $SliderImages)->with('top_img', $top)->with('tab', $tab); }
public function tab() { $tab = TabCategoris::all(); return View::make('admin.tab.tab')->with('tab', $tab); }