public function getIndex() { return View::make('main.subcategories')->with('subcategories', Subcategory::all()); }