Esempio n. 1
0
 public function getCategories()
 {
     $this->breadcrumbs->push('หมวดหมู่', URL::to('/categories'));
     $this->breadcrumbs->generate();
     return View::make('home.categories')->with('ucs', UserCategories::all());
 }
Esempio n. 2
0
 public function ajaxUsercategory()
 {
     $data = UserCategories::all();
     return Response::json($data);
 }