public function index()
    {
        $priorities = $this->presenter->table($this->priority);

        $navbar = $this->presenter->navbar();

        return view('work-orders.priorities.index', compact('priorities', 'navbar'));
    }
public function index()
    {
        $priorities = $this->presenter->table($this->priority);

        $navbar = $this->presenter->navbar();

        return view('work-orders.priorities.index', compact('priorities', 'navbar'));
    }
public function index ( ) { $ priorities = $ this -> presenter -> table ( $ this -> priority ) ; $ navbar = $ this -> presenter -> navbar ( ) ; return view ( 'work-orders.priorities.index' , compact ( 'priorities' , 'navbar' ) ) ; }
Displays all priorities.

@return \Illuminate\View\View
Displays all priorities .