diff options
author | crupest <crupest@outlook.com> | 2019-04-13 13:03:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-13 13:03:18 +0800 |
commit | 72890735ced2edc8ccecfed811393e951de5c091 (patch) | |
tree | 39cf181a18a3dc443dbab5669a04d0a23cdefd00 /Timeline/Controllers | |
parent | 19cae15eba2bcede41b818e1b8ab7fd5ac92eb05 (diff) | |
download | timeline-72890735ced2edc8ccecfed811393e951de5c091.tar.gz timeline-72890735ced2edc8ccecfed811393e951de5c091.tar.bz2 timeline-72890735ced2edc8ccecfed811393e951de5c091.zip |
Init separate.
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r-- | Timeline/Controllers/UserController.cs | 2 | ||||
-rw-r--r-- | Timeline/Controllers/UserTestController.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Controllers/UserController.cs b/Timeline/Controllers/UserController.cs index eb1b8513..b9e0979d 100644 --- a/Timeline/Controllers/UserController.cs +++ b/Timeline/Controllers/UserController.cs @@ -6,7 +6,7 @@ using Timeline.Services; namespace Timeline.Controllers { - [Route("api/[controller]")] + [Route("[controller]")] public class UserController : Controller { private static class LoggingEventIds diff --git a/Timeline/Controllers/UserTestController.cs b/Timeline/Controllers/UserTestController.cs index cf5cf074..1c230667 100644 --- a/Timeline/Controllers/UserTestController.cs +++ b/Timeline/Controllers/UserTestController.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc; namespace Timeline.Controllers { - [Route("api/test/User")] + [Route("Test/User")] public class UserTestController : Controller { [HttpGet("[action]")] |