Merge pull request #137 from nickago/MM-1417

MM-1417 redirected channel name 404's to town square
This commit is contained in:
Corey Hulen
2015-07-07 23:11:46 -08:00

View File

@@ -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
}
}