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

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