summaryrefslogtreecommitdiff
path: root/system/api/hide.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/api/hide.go')
-rw-r--r--system/api/hide.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/hide.go b/system/api/hide.go
index eed2c8b..2f57d3d 100644
--- a/system/api/hide.go
+++ b/system/api/hide.go
@@ -6,7 +6,7 @@ import (
"github.com/ponzu-cms/ponzu/system/item"
)
-func hide(it interface{}, res http.ResponseWriter, req *http.Request) bool {
+func hide(res http.ResponseWriter, req *http.Request, it interface{}) bool {
// check if should be hidden
if h, ok := it.(item.Hideable); ok {
err := h.Hide(res, req)