public function show($newsSlug)
    {
        $item = News::with('photos')->where('slug', $newsSlug)->first();
        if (!$item) {
            return redirect('/news-and-events');
        }

        $this->addBreadcrumbLink($item->title, false);

        return $this->view('titan::news_events.news_event_show')->with('news', $item);
    }
public function show($newsSlug)
    {
        $item = News::with('photos')->where('slug', $newsSlug)->first();
        if (!$item) {
            return redirect('/news-and-events');
        }

        $this->addBreadcrumbLink($item->title, false);

        return $this->view('titan::news_events.news_event_show')->with('news', $item);
    }
public function show ( $ newsSlug ) { $ item = News :: with ( 'photos' ) -> where ( 'slug' , $ newsSlug ) -> first ( ) ; if ( ! $ item ) { return redirect ( '/news-and-events' ) ; } $ this -> addBreadcrumbLink ( $ item -> title , false ) ; return $ this -> view ( 'titan::news_events.news_event_show' ) -> with ( 'news' , $ item ) ; }
Show News and Events
@param $newsSlug
@return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
Show News and Events