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

@ -9,7 +9,7 @@ using Oqtane.Repository;
namespace Oqtane.Controllers
{
[Route("{alias}/api/[controller]")]
[Route(ControllerRoutes.Default)]
public class UserRoleController : Controller
{
private readonly IUserRoleRepository _userRoles;