Fix resharper complaints
This commit is contained in:
parent
68028b37f2
commit
246111df63
5 changed files with 6 additions and 5 deletions
|
@ -60,11 +60,11 @@ namespace Website
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
name: "blogPages",
|
name: "blogPages",
|
||||||
template: "blog/{action}/{page:int}",
|
template: "blog/{action}/{page:int}",
|
||||||
new { controller = "Blog", action = "Page", page = 1 });
|
defaults: new { controller = "Blog", action = "Page", page = 1 });
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
name: "blogView",
|
name: "blogView",
|
||||||
template: "blog/view/{url}",
|
template: "blog/view/{url}",
|
||||||
new { controller = "Blog", action = "Entry"});
|
defaults: new { controller = "Blog", action = "Entry"});
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
name: "default",
|
name: "default",
|
||||||
template: "{controller=Home}/{action=Index}/{id?}");
|
template: "{controller=Home}/{action=Index}/{id?}");
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@model BlogPostViewModel;
|
@model BlogPostViewModel
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = Model.Title;
|
ViewData["Title"] = Model.Title;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@model BlogViewModel;
|
@model BlogViewModel
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Blog";
|
ViewData["Title"] = "Blog";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@model BlogPostViewModel;
|
@model BlogPostViewModel
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Home";
|
ViewData["Title"] = "Home";
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
<dt>
|
<dt>
|
||||||
<a href="/gallery"><img src="/images/photo.svg">Gallery</a>
|
<a href="/gallery"><img src="/images/photo.svg">Gallery</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
</dl>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue