public function index($resourceId)
    {
        $routes = $this->routes;

        $eventable = $this->getEventableRepository()->model()->findOrFail($resourceId);

        return view('events.eventables.index', compact('eventable', 'routes'));
    }
public function index($resourceId)
    {
        $routes = $this->routes;

        $eventable = $this->getEventableRepository()->model()->findOrFail($resourceId);

        return view('events.eventables.index', compact('eventable', 'routes'));
    }
public function index ( $ resourceId ) { $ routes = $ this -> routes ; $ eventable = $ this -> getEventableRepository ( ) -> model ( ) -> findOrFail ( $ resourceId ) ; return view ( 'events.eventables.index' , compact ( 'eventable' , 'routes' ) ) ; }
Displays all of the specified eventables events.

@param int|string $resourceId

@return \Illuminate\View\View
Displays all of the specified eventables events .