This commit is contained in:
Deluan
2016-02-25 18:52:07 -05:00
parent a1829d432a
commit e760952263
17 changed files with 40 additions and 59 deletions
+1 -3
View File
@@ -1,18 +1,16 @@
package controllers
import (
"github.com/astaxie/beego"
"fmt"
"github.com/astaxie/beego"
)
type MainController struct{ beego.Controller }
func (c *MainController) Get() {
c.Ctx.Redirect(302, "/static/Jamstash/")
}
func (c *MainController) Error404() {
if beego.BConfig.RunMode == beego.DEV || beego.BConfig.Log.AccessLogs {
r := c.Ctx.Request