From aeeb7dcfa531cee240776b310f81dd697b254d2f Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 5 Aug 2023 21:00:19 +0100 Subject: [PATCH] fix: use correct model namespace --- oliverbooth.dev/Pages/Error.cshtml | 2 +- oliverbooth.dev/Pages/_ViewImports.cshtml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/oliverbooth.dev/Pages/Error.cshtml b/oliverbooth.dev/Pages/Error.cshtml index 2296a01..6c7fe5f 100644 --- a/oliverbooth.dev/Pages/Error.cshtml +++ b/oliverbooth.dev/Pages/Error.cshtml @@ -1,5 +1,5 @@ @page "/{culture=en}/error/{code:int?}" -@model ErrorModel +@model OliverBooth.Pages.ErrorModel @{ ViewData["Title"] = "Error"; } diff --git a/oliverbooth.dev/Pages/_ViewImports.cshtml b/oliverbooth.dev/Pages/_ViewImports.cshtml index 03fed08..878b230 100644 --- a/oliverbooth.dev/Pages/_ViewImports.cshtml +++ b/oliverbooth.dev/Pages/_ViewImports.cshtml @@ -1,3 +1,2 @@ -@using oliverbooth.dev -@namespace oliverbooth.dev.Pages +@namespace OliverBooth.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file