From 10427b217804486a9964129ee7a509d157987fe6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 12 Nov 2015 12:32:40 -0500 Subject: [PATCH] fix #1930 --- README.md | 2 +- gogs.go | 2 +- routers/admin/notice.go | 2 +- templates/.VERSION | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 25497f4286..5f11a63cc7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra ![](public/img/gogs-large-resize.png) -##### Current version: 0.7.5 Beta +##### Current version: 0.7.6 Beta diff --git a/gogs.go b/gogs.go index c0662952a9..0ae1302849 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.7.5.1111 Beta" +const APP_VER = "0.7.6.1112 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/admin/notice.go b/routers/admin/notice.go index 512c3f5993..b076994d01 100644 --- a/routers/admin/notice.go +++ b/routers/admin/notice.go @@ -49,5 +49,5 @@ func DeleteNotice(ctx *middleware.Context) { } log.Trace("System notice deleted by admin(%s): %d", ctx.User.Name, id) ctx.Flash.Success(ctx.Tr("admin.notices.delete_success")) - ctx.Redirect("/admin/notices") + ctx.Redirect(setting.AppSubUrl + "/admin/notices") } diff --git a/templates/.VERSION b/templates/.VERSION index 27f1c9ed1f..6e7925e4d9 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.7.5.1111 Beta \ No newline at end of file +0.7.6.1112 Beta \ No newline at end of file