Modules\Doptor\Slideshow\Controllers\Backend\SlideshowController::index PHP Method

index() public method

Display a listing of the resource.
public index ( ) : Response
return Response
    public function index()
    {
        $slides = Slideshow::all();
        $this->layout->title = 'All Slides';
        $this->layout->content = View::make('slideshow::slideshow.index')->with('slides', $slides);
    }