renaming to integrate view
This commit is contained in:
parent
593c6c7be9
commit
a947545087
3 changed files with 22 additions and 3 deletions
|
@ -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;
|
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())
|
||||
{
|
||||
<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>
|
||||
|
|
Reference in a new issue