diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-03-15 11:03:48 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-03-15 11:03:48 -0700 |
commit | 4f90b228e1f145340ae4c9a6fc83b2a2cf0a86fa (patch) | |
tree | 55d683dc7a2eb0848014e91b3cd545f9af4dcd54 /system/admin/handlers.go | |
parent | 37774dda33abe98d4d85dc62b2b8a1933ba786a0 (diff) |
changing API for external client interaction. Externalable -> Createable, +Deleteable, changing Hookable interface methods to conform to pattern: BeforeAPI$ACTION, etc.
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 4bb5521..56efc0c 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -866,7 +866,7 @@ func contentsHandler(res http.ResponseWriter, req *http.Request) { } var hasExt bool - _, ok = pt.(api.Externalable) + _, ok = pt.(api.Createable) if ok { hasExt = true } |