fix url error after dealing with request

This commit is contained in:
zhongyehong 2016-06-07 15:25:46 +08:00
parent 0316fe2973
commit 1c09cb94c0
1 changed files with 5 additions and 5 deletions

View File

@ -221,7 +221,7 @@ class shareImageView(normalView):
}
result = dockletRequest.post("/image/share/", data)
if(result):
return redirect("/dashboard/")
return redirect("/config/")
else:
self.error()
@ -235,7 +235,7 @@ class unshareImageView(normalView):
}
result = dockletRequest.post("/image/unshare/", data)
if(result):
return redirect("/dashboard/")
return redirect("/config/")
else:
self.error()
@ -249,7 +249,7 @@ class deleteImageView(normalView):
}
result = dockletRequest.post("/image/delete/", data)
if(result):
return redirect("/dashboard/")
return redirect("/config/")
else:
self.error()
@ -264,7 +264,7 @@ class addproxyView(normalView):
}
result = dockletRequest.post("/addproxy/", data)
if(result):
return redirect("/dashboard/")
return redirect("/config/")
else:
self.error()
@ -277,7 +277,7 @@ class deleteproxyView(normalView):
}
result = dockletRequest.post("/deleteproxy/", data)
if(result):
return redirect("/dashboard/")
return redirect("/config/")
else:
self.error()