View blog posts

This commit is contained in:
Robert Marshall 2019-04-28 11:12:52 +01:00
parent b8f371e3e8
commit 3064dd8d25
5 changed files with 16 additions and 13 deletions

View file

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