Fixup profile page html header
This commit is contained in:
parent
81e48040ee
commit
1fa210e3df
|
@ -2,7 +2,7 @@
|
|||
@using RTMPDash.DataModels
|
||||
@model ProfileModel
|
||||
@{
|
||||
ViewData["Title"] = "View";
|
||||
ViewData["Title"] = Model.User;
|
||||
var db = new AppDb.DbConn();
|
||||
if (!db.Users.Any(p => p.Username == Model.User)) {
|
||||
Response.Redirect("/");
|
||||
|
|
Loading…
Reference in a new issue