protected function writePost(Content $content)
    {
        set_meta('title', 'Write a Post');

        $content->setAttribute('format', $this->editorFormat);

        return view('orchestra/story::admin.editor', [
            'content' => $content,
            'url'     => handles('orchestra::storycms/posts'),
            'method'  => 'POST',
        ]);
    }
protected function writePost(Content $content)
    {
        set_meta('title', 'Write a Post');

        $content->setAttribute('format', $this->editorFormat);

        return view('orchestra/story::admin.editor', [
            'content' => $content,
            'url'     => handles('orchestra::storycms/posts'),
            'method'  => 'POST',
        ]);
    }
protected function writePost ( Content $ content ) { set_meta ( 'title' , 'Write a Post' ) ; $ content -> setAttribute ( 'format' , $ this -> editorFormat ) ; return view ( 'orchestra/story::admin.editor' , [ 'content' => $ content , 'url' => handles ( 'orchestra::storycms/posts' ) , 'method' => 'POST' , ] ) ; }
Write a post.

@param  \Orchestra\Story\Model\Content  $content

@return mixed
Write a post .