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

create() public method

Show the form for creating a new resource.
public create ( ) : Response
return Response
    public function create()
    {
        $this->layout->title = 'New slide';
        $all_statuses = Slideshow::all_status();
        $this->layout->content = View::make('slideshow::slideshow.create_edit')->with('all_statuses', $all_statuses);
    }