From f3b99583464e82dbde266930d644b534a2a6e79d Mon Sep 17 00:00:00 2001 From: Fan Yang Date: Sun, 27 Dec 2015 19:00:18 +0800 Subject: [PATCH] (*)fixed build error --- .travis.yml | 2 +- controllers/default.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04431ed..b5891fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.4 +- 1.5 script: - go build . - pwd && cd build && ./travis-build.sh diff --git a/controllers/default.go b/controllers/default.go index deefa03..224a186 100644 --- a/controllers/default.go +++ b/controllers/default.go @@ -272,7 +272,7 @@ func (this *MainController) GetAllJSON() { func (this *MainController) Get() { if noweb := os.Getenv("NOWEB"); noweb == "1" { - this.Abort(404) + this.Abort("404") return } this.Data["Email"] = "missdeer@dfordsoft.com"