aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-12 15:04:45 +0200
committertranstrike <transtrike@gmail.com>2020-12-12 15:04:45 +0200
commit8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05 (patch)
tree380757557eb7ac15809e5f04d224c2e494a327fd /API/Controllers
parent29b2a82d7ef2613b3e56eba7ed959243a98ae92d (diff)
downloadDevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.tar
DevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.tar.gz
DevHive-8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05.zip
Added Extensions Methods
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/ErrorController.cs2
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");