diff options
Diffstat (limited to 'system/admin')
-rw-r--r-- | system/admin/admin.go | 4 | ||||
-rw-r--r-- | system/admin/cache.go | 2 | ||||
-rw-r--r-- | system/admin/config/config.go | 4 | ||||
-rw-r--r-- | system/admin/handlers.go | 13 | ||||
-rw-r--r-- | system/admin/server.go | 2 |
5 files changed, 13 insertions, 12 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go index b375eb6..af8e688 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -6,8 +6,8 @@ import ( "bytes" "html/template" - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/system/db" + "../../content" + "../../system/db" ) var startAdminHTML = `<!doctype html> diff --git a/system/admin/cache.go b/system/admin/cache.go index 0de45af..0faf7ec 100644 --- a/system/admin/cache.go +++ b/system/admin/cache.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "github.com/bosssauce/ponzu/system/db" + "../../system/db" ) // CacheControl sets the default cache policy on static asset responses diff --git a/system/admin/config/config.go b/system/admin/config/config.go index c5ef1cd..0da756f 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -1,8 +1,8 @@ package config import ( - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/management/editor" + "../../../content" + "../../../management/editor" ) //Config represents the confirgurable options of the system diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 623bcea..32a8e95 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -12,12 +12,13 @@ import ( "strings" "time" - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/management/editor" - "github.com/bosssauce/ponzu/management/manager" - "github.com/bosssauce/ponzu/system/admin/config" - "github.com/bosssauce/ponzu/system/admin/user" - "github.com/bosssauce/ponzu/system/db" + "../../content" + "../../management/editor" + "../../management/manager" + "../../system/db" + "./config" + "./user" + "github.com/nilslice/jwt" ) diff --git a/system/admin/server.go b/system/admin/server.go index 312a3de..3f02a69 100644 --- a/system/admin/server.go +++ b/system/admin/server.go @@ -3,7 +3,7 @@ package admin import ( "net/http" - "github.com/bosssauce/ponzu/system/admin/user" + "./user" ) // Run adds Handlers to default http listener for Admin |