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