sort endpoints by route
This commit is contained in:
parent
8d4b30140e
commit
262d6a1529
|
@ -155,7 +155,7 @@
|
||||||
<button type="button" class="btn btn-success" @onclick="SaveConfig">@SharedLocalizer["Save"]</button>
|
<button type="button" class="btn btn-success" @onclick="SaveConfig">@SharedLocalizer["Save"]</button>
|
||||||
<ActionDialog Header="Restart Application" Message="Are You Sure You Wish To Restart The Application?" Action="Restart Application" Security="SecurityAccessLevel.Host" Class="btn btn-danger" OnClick="@(async () => await RestartApplication())" ResourceKey="RestartApplication" />
|
<ActionDialog Header="Restart Application" Message="Are You Sure You Wish To Restart The Application?" Action="Restart Application" Security="SecurityAccessLevel.Host" Class="btn btn-danger" OnClick="@(async () => await RestartApplication())" ResourceKey="RestartApplication" />
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<a class="btn btn-secondary" href="swagger/index.html" target="_new">@Localizer["Swagger"]</a>
|
<a class="btn btn-primary" href="swagger/index.html" target="_new">@Localizer["Swagger"]</a>
|
||||||
<a class="btn btn-secondary" href="api/endpoint" target="_new">@Localizer["Endpoints"]</a>
|
<a class="btn btn-secondary" href="api/endpoint" target="_new">@Localizer["Endpoints"]</a>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel Name="Log" Heading="Log" ResourceKey="Log">
|
<TabPanel Name="Log" Heading="Log" ResourceKey="Log">
|
||||||
|
|
|
@ -48,7 +48,7 @@ namespace Oqtane.Controllers
|
||||||
ControllerMethod = controllerMethod
|
ControllerMethod = controllerMethod
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
).OrderBy(item => item.Route);
|
||||||
|
|
||||||
return Json(output);
|
return Json(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user