diff --git a/MyWebsite/Controllers/HomeController.cs b/MyWebsite/Controllers/HomeController.cs
index bdabeef..f6d048d 100644
--- a/MyWebsite/Controllers/HomeController.cs
+++ b/MyWebsite/Controllers/HomeController.cs
@@ -8,14 +8,16 @@ namespace MyWebsite.Controllers
{
// TODO: Add more specific OpenGraph meta tags
// TODO: Create custom error page
- // TODO: Update Projects.json and Gallery.json
+ // TODO: Update Projects.json and Gallery.json (Add this site, BSI)
// TODO: Complete About page
// TODO: Localize application
// TODO: Make authorization system and ability to update website through GUI
// TODO: Consider a database connection
+ // TODO: Add more detailed parsing of artwork descriptions
public IActionResult Index() =>
View();
+ [HttpGet("Error")]
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error() =>
View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
diff --git a/MyWebsite/MyWebsite.csproj.user b/MyWebsite/MyWebsite.csproj.user
index ff18027..0033d77 100644
--- a/MyWebsite/MyWebsite.csproj.user
+++ b/MyWebsite/MyWebsite.csproj.user
@@ -4,11 +4,12 @@
MvcControllerEmptyScaffolder
root/Controller
600
- False
+ True
False
False
False
600
FolderProfile
+
\ No newline at end of file
diff --git a/MyWebsite/Startup.cs b/MyWebsite/Startup.cs
index d2d5160..0af09b1 100644
--- a/MyWebsite/Startup.cs
+++ b/MyWebsite/Startup.cs
@@ -51,7 +51,7 @@ namespace MyWebsite
{
routes.MapRoute(
name: "default",
- template: "{controller=Home}/{action=Index}");
+ template: "{controller=Home}/{action=Index}/{id?}");
});
}
}