summaryrefslogtreecommitdiff
path: root/system/admin
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-09 16:27:33 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-09 16:27:33 -0700
commita7f5427fee80fd638e012de5cfeb48d5be54cbcf (patch)
tree658014a3eada5009de87f31b8c81a47781923d9b /system/admin
parent3b7e6a4cdbda6193cf45b0e60332ca16e68e0010 (diff)
renaming import paths globally to ensure build is using new files, not ones from original repo
Diffstat (limited to 'system/admin')
-rw-r--r--system/admin/admin.go4
-rw-r--r--system/admin/cache.go2
-rw-r--r--system/admin/config/config.go4
-rw-r--r--system/admin/handlers.go13
-rw-r--r--system/admin/server.go2
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