Backend\MenuCategoriesController::index PHP Method

index() public method

Display a listing of the menu categories.
public index ( ) : Response
return Response
    public function index()
    {
        $menu_cats = \MenuCategory::latest()->get();
        $this->layout->title = 'All Menu Categories';
        $this->layout->content = \View::make($this->link_type . '.' . $this->current_theme . '.menu_categories.index')->with('menu_cats', $menu_cats);
    }