diff --git a/cmd/owl/web/editor_handler.go b/cmd/owl/web/editor_handler.go index 77b6f1e..fa34ba3 100644 --- a/cmd/owl/web/editor_handler.go +++ b/cmd/owl/web/editor_handler.go @@ -206,6 +206,10 @@ func userEditorPostHandler(repo *owl.Repository) func(http.ResponseWriter, *http userEditorGetHandler(repo)(w, r, ps) return } + if post_type == "" { + userEditorGetHandler(repo)(w, r, ps) + return + } // create post post, err := user.CreateNewPostFull(owl.PostMeta{