From fc654d58806fed90997f239581fc5d59c70fd5c7 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Thu, 15 Nov 2018 10:50:04 +0100 Subject: [PATCH] fix(crm docs): page specs title for pageEdit --- crm/db/migrate.go | 2 +- crm/docs/README.md | 2 +- crm/docs/src/spec.json | 2 +- crm/docs/src/spec/page.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crm/db/migrate.go b/crm/db/migrate.go index a04ca8ab9..26a3fa52b 100644 --- a/crm/db/migrate.go +++ b/crm/db/migrate.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/pkg/errors" - "github.com/titpetric/statik/fs" "github.com/titpetric/factory" + "github.com/titpetric/statik/fs" "github.com/crusttech/crust/crm/db/mysql" ) diff --git a/crm/docs/README.md b/crm/docs/README.md index a75abed87..2d049cb2b 100644 --- a/crm/docs/README.md +++ b/crm/docs/README.md @@ -265,7 +265,7 @@ CRM module pages | --------- | ---- | ------ | ----------- | ------- | --------- | | pageID | uint64 | PATH | Page ID | N/A | YES | -## Create page +## Edit page #### Method diff --git a/crm/docs/src/spec.json b/crm/docs/src/spec.json index afb764845..0e7319aec 100644 --- a/crm/docs/src/spec.json +++ b/crm/docs/src/spec.json @@ -144,7 +144,7 @@ { "name": "edit", "method": "POST", - "title": "Create page", + "title": "Edit page", "path": "/{pageID}", "parameters": { "path": [ diff --git a/crm/docs/src/spec/page.json b/crm/docs/src/spec/page.json index 94576b596..dc7ffe5da 100644 --- a/crm/docs/src/spec/page.json +++ b/crm/docs/src/spec/page.json @@ -90,7 +90,7 @@ { "Name": "edit", "Method": "POST", - "Title": "Create page", + "Title": "Edit page", "Path": "/{pageID}", "Parameters": { "path": [