Factor out default controller route.

This commit is contained in:
Tony Valenti
2020-10-16 10:37:17 -05:00
parent f33fb4d001
commit 766be6c929
27 changed files with 35 additions and 26 deletions

View File

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Hosting;
namespace Oqtane.Controllers
{
[Route("{alias}/api/[controller]")]
[Route(ControllerRoutes.Default)]
public class SystemController : Controller
{
private readonly IWebHostEnvironment _environment;