feat(cabana): mail preview and test send to yourself
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -354,11 +354,12 @@ func (s *service) mount(r pact.Router) {
|
||||
g.Get("/field-types", s.fieldTypesList)
|
||||
// Form previews render through RenderMarkdown; nothing is stored.
|
||||
g.Post("/markdown/preview", requireAjax(s.markdownPreview))
|
||||
// Mail image library (absolute public URLs); preview and test-send
|
||||
// join these in plan 35-02 Task 4.
|
||||
// Mail image library, preview and test-send (postcard Editor).
|
||||
g.Get("/mail/images", s.mailImagesList)
|
||||
g.Get("/mail/images/{id}", s.mailImagesShow)
|
||||
g.Post("/mail/images", requireAjax(s.mailImagesUpload))
|
||||
g.Post("/mail/preview", requireAjax(s.mailPreview))
|
||||
g.Post("/mail/test-send", interactiveOnly(requireAjax(s.mailTestSend)))
|
||||
g.Get("/settings", s.settingsList)
|
||||
// The read-only Plugins screen (backend.view_plugins).
|
||||
g.Get("/plugins", s.pluginsInstalled)
|
||||
|
||||
Reference in New Issue
Block a user