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

@ -10,7 +10,7 @@ using [Owner].[Module].Repository;
namespace [Owner].[Module].Controllers
{
[Route("{alias}/api/[controller]")]
[Route(ControllerRoutes.Default)]
public class [Module]Controller : Controller
{
private readonly I[Module]Repository _[Module]Repository;