Modules\Doptor\Slideshow\Controllers\Backend\SlideshowController::create PHP 메소드

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : Response
리턴 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);
    }