瀏覽代碼

修改路径

layui
yirenyishi 6 年前
父節點
當前提交
ce8f0256a1
  1. 2
      controllers/BlogController.go

2
controllers/BlogController.go

@ -158,7 +158,7 @@ func (this *BlogController) Del() {
func (this *BlogController) New() {
uid := this.GetSession("userid")
if uid == nil {
this.Redirect("login.html", 302)
this.Redirect("/login", 302)
return
}
this.TplName = "newblog.html"

載入中…
取消
儲存