Skip to content

Commit 3baa867

Browse files
committed
Set page title
1 parent 9f06538 commit 3baa867

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

RandomData2/RandomDataWebApi/Areas/HelpPage/Views/Help/ResourceModel.cshtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
@using RandomDataWebApi.Areas.HelpPage.ModelDescriptions
44
@model ModelDescription
55

6+
@{
7+
ViewBag.Title = Model.Name;
8+
}
9+
610
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
711
<div id="body" class="help-page">
812
<section class="featured">
@@ -12,7 +16,7 @@
1216
</p>
1317
</div>
1418
</section>
15-
<h1>@Model.Name</h1>
19+
<h1>@ViewBag.Title</h1>
1620
<p>@Model.Documentation</p>
1721
<section class="content-wrapper main-content clear-fix">
1822
@Html.DisplayFor(m => Model)

0 commit comments

Comments
 (0)