// Copyright 2014 The Gogs Authors. All rights reserved.// Use of this source code is governed by a MIT-style// license that can be found in the LICENSE file.packageroutersimport("github.com/gogits/gogs/modules/middleware""github.com/gogits/gogs/routers/user")funcHome(ctx*middleware.Context){ifctx.IsSigned{user.Dashboard(ctx)return}ctx.Data["PageIsHome"]=truectx.Render.HTML(200,"home",ctx.Data)}