Fix resharper complaints

This commit is contained in:
Robert Marshall 2019-05-04 17:40:20 +01:00
parent 68028b37f2
commit 246111df63
5 changed files with 6 additions and 5 deletions

View file

@ -60,11 +60,11 @@ namespace Website
routes.MapRoute(
name: "blogPages",
template: "blog/{action}/{page:int}",
new { controller = "Blog", action = "Page", page = 1 });
defaults: new { controller = "Blog", action = "Page", page = 1 });
routes.MapRoute(
name: "blogView",
template: "blog/view/{url}",
new { controller = "Blog", action = "Entry"});
defaults: new { controller = "Blog", action = "Entry"});
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");