From a9475450871735f72ef70032347da9dafc79e6ad Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Wed, 1 Jul 2020 19:25:00 -0400 Subject: [PATCH] renaming to integrate view --- ...bugController.cs => DebugingController.cs} | 4 ++-- src/BirdsiteLive/Views/Debuging/Index.cshtml | 19 +++++++++++++++++++ src/BirdsiteLive/Views/Home/Index.cshtml | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) rename src/BirdsiteLive/Controllers/{DebugController.cs => DebugingController.cs} (95%) create mode 100644 src/BirdsiteLive/Views/Debuging/Index.cshtml diff --git a/src/BirdsiteLive/Controllers/DebugController.cs b/src/BirdsiteLive/Controllers/DebugingController.cs similarity index 95% rename from src/BirdsiteLive/Controllers/DebugController.cs rename to src/BirdsiteLive/Controllers/DebugingController.cs index f187d32..47196c7 100644 --- a/src/BirdsiteLive/Controllers/DebugController.cs +++ b/src/BirdsiteLive/Controllers/DebugingController.cs @@ -13,14 +13,14 @@ using Newtonsoft.Json; namespace BirdsiteLive.Controllers { - public class DebugController : Controller + public class DebugingController : Controller { private readonly InstanceSettings _instanceSettings; private readonly ICryptoService _cryptoService; private readonly IActivityPubService _activityPubService; #region Ctor - public DebugController(InstanceSettings instanceSettings, ICryptoService cryptoService, IActivityPubService activityPubService) + public DebugingController(InstanceSettings instanceSettings, ICryptoService cryptoService, IActivityPubService activityPubService) { _instanceSettings = instanceSettings; _cryptoService = cryptoService; diff --git a/src/BirdsiteLive/Views/Debuging/Index.cshtml b/src/BirdsiteLive/Views/Debuging/Index.cshtml new file mode 100644 index 0000000..04ea0bf --- /dev/null +++ b/src/BirdsiteLive/Views/Debuging/Index.cshtml @@ -0,0 +1,19 @@ + +@{ + ViewData["Title"] = "Index"; +} + +

Debug

+ +
+ + + +
+ + +
+ + + +
\ No newline at end of file diff --git a/src/BirdsiteLive/Views/Home/Index.cshtml b/src/BirdsiteLive/Views/Home/Index.cshtml index 6ae1367..4c62fc0 100644 --- a/src/BirdsiteLive/Views/Home/Index.cshtml +++ b/src/BirdsiteLive/Views/Home/Index.cshtml @@ -10,6 +10,6 @@ @if (HtmlHelperExtensions.IsDebug()) { - Debug + Debug }