diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-12 15:04:45 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-12 15:04:45 +0200 |
| commit | 8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05 (patch) | |
| tree | 380757557eb7ac15809e5f04d224c2e494a327fd /API/Controllers/ErrorController.cs | |
| parent | 29b2a82d7ef2613b3e56eba7ed959243a98ae92d (diff) | |
| download | DevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.tar DevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.tar.gz DevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.zip | |
Added Extensions Methods
Diffstat (limited to 'API/Controllers/ErrorController.cs')
| -rw-r--r-- | API/Controllers/ErrorController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs index 792d8cd..ffe2159 100644 --- a/API/Controllers/ErrorController.cs +++ b/API/Controllers/ErrorController.cs @@ -6,10 +6,10 @@ using Microsoft.AspNetCore.Mvc; namespace API.Controllers { [ApiController] + [Route("/api/[controller]")] public class ErrorController { [HttpGet] - [Route("HttpError")] public HttpStatusCode HttpError(HttpRequestException exception) { Console.WriteLine("WE HERE, BOIIIIIII"); |
