Backend\MenuPositionsController::index PHP Метод

index() публичный Метод

Display a listing of the menu positions.
public index ( ) : Response
Результат Response
    public function index()
    {
        $menu_positions = \MenuPosition::latest()->get();
        $this->layout->title = 'All Menu Positions';
        $this->layout->content = \View::make($this->link_type . '.' . $this->current_theme . '.menu_positions.index')->with('menu_positions', $menu_positions);
    }