pirepRepo = $pirepRepo; } /** * Display a listing of the Airlines. */ public function index(Request $request) { /*Feed::$cacheDir = storage_path('app'); Feed::$cacheExpire = '5 hours'; $feed = Feed::loadRss(config('phpvms.news_feed_url'));*/ $feed = []; return view('admin.dashboard.index', [ 'feed' => $feed, 'pending_pireps' => $this->pirepRepo->getPendingCount(), ]); } }