public function create()
    {
        set_meta('title', 'Write a Page');

        $content = Content::newPageInstance();
        $content->setAttribute('format', $this->editorFormat);

        $this->authorize('create', $content);

        return view('orchestra/story::admin.editor', [
            'content' => $content,
            'url'     => handles('orchestra::storycms/pages'),
            'method'  => 'POST',
        ]);
    }
public function create()
    {
        set_meta('title', 'Write a Page');

        $content = Content::newPageInstance();
        $content->setAttribute('format', $this->editorFormat);

        $this->authorize('create', $content);

        return view('orchestra/story::admin.editor', [
            'content' => $content,
            'url'     => handles('orchestra::storycms/pages'),
            'method'  => 'POST',
        ]);
    }
public function create ( ) { set_meta ( 'title' , 'Write a Page' ) ; $ content = Content :: newPageInstance ( ) ; $ content -> setAttribute ( 'format' , $ this -> editorFormat ) ; $ this -> authorize ( 'create' , $ content ) ; return view ( 'orchestra/story::admin.editor' , [ 'content' => $ content , 'url' => handles ( 'orchestra::storycms/pages' ) , 'method' => 'POST' , ] ) ; }
Write a page.

@return mixed
Write a page .