redirected channel name 404's to town square

Этот коммит содержится в:
nickago
2015-07-06 13:14:51 -07:00
родитель 5e204030ff
Коммит 1f0b4a39b0

Просмотреть файл

@@ -301,7 +301,10 @@ func getChannel(c *api.Context, w http.ResponseWriter, r *http.Request) {
return
}
api.Handle404(w, r)
//api.Handle404(w, r)
//Bad channel urls just redirect to the town-square for now
http.Redirect(w,r,"/channels/town-square", http.StatusFound)
return
}
}