mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
renaming to integrate view
This commit is contained in:
@@ -13,14 +13,14 @@ using Newtonsoft.Json;
|
|||||||
|
|
||||||
namespace BirdsiteLive.Controllers
|
namespace BirdsiteLive.Controllers
|
||||||
{
|
{
|
||||||
public class DebugController : Controller
|
public class DebugingController : Controller
|
||||||
{
|
{
|
||||||
private readonly InstanceSettings _instanceSettings;
|
private readonly InstanceSettings _instanceSettings;
|
||||||
private readonly ICryptoService _cryptoService;
|
private readonly ICryptoService _cryptoService;
|
||||||
private readonly IActivityPubService _activityPubService;
|
private readonly IActivityPubService _activityPubService;
|
||||||
|
|
||||||
#region Ctor
|
#region Ctor
|
||||||
public DebugController(InstanceSettings instanceSettings, ICryptoService cryptoService, IActivityPubService activityPubService)
|
public DebugingController(InstanceSettings instanceSettings, ICryptoService cryptoService, IActivityPubService activityPubService)
|
||||||
{
|
{
|
||||||
_instanceSettings = instanceSettings;
|
_instanceSettings = instanceSettings;
|
||||||
_cryptoService = cryptoService;
|
_cryptoService = cryptoService;
|
19
src/BirdsiteLive/Views/Debuging/Index.cshtml
Normal file
19
src/BirdsiteLive/Views/Debuging/Index.cshtml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewData["Title"] = "Index";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h1>Debug</h1>
|
||||||
|
|
||||||
|
<form asp-controller="Debug" asp-action="Follow" method="post">
|
||||||
|
<!-- Input and Submit elements -->
|
||||||
|
|
||||||
|
<button type="submit" value="Submit">Follow</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
<form asp-controller="Debug" asp-action="PostNote" method="post">
|
||||||
|
<!-- Input and Submit elements -->
|
||||||
|
|
||||||
|
<button type="submit" value="Submit">Post Note</button>
|
||||||
|
</form>
|
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
@if (HtmlHelperExtensions.IsDebug())
|
@if (HtmlHelperExtensions.IsDebug())
|
||||||
{
|
{
|
||||||
<a class="nav-link text-dark" asp-area="" asp-controller="Debug" asp-action="Index">Debug</a>
|
<a class="nav-link text-dark" asp-area="" asp-controller="Debuging" asp-action="Index">Debug</a>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user