public function showIndex()
    {
        $schedule = Schedule::orderBy('created_at')->get();

        return View::make('dashboard.maintenance.index')
            ->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard'))
            ->withSchedule($schedule);
    }
public function showIndex()
    {
        $schedule = Schedule::orderBy('created_at')->get();

        return View::make('dashboard.maintenance.index')
            ->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard'))
            ->withSchedule($schedule);
    }
public function showIndex ( ) { $ schedule = Schedule :: orderBy ( 'created_at' ) -> get ( ) ; return View :: make ( 'dashboard.maintenance.index' ) -> withPageTitle ( trans ( 'dashboard.schedule.schedule' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withSchedule ( $ schedule ) ; }
Lists all scheduled maintenance.

@return \Illuminate\View\View
Lists all scheduled maintenance .