From 8bd7295dc4694c1c0ed6fbc05d390223bfc4ef05 Mon Sep 17 00:00:00 2001 From: transtrike Date: Sat, 12 Dec 2020 15:04:45 +0200 Subject: Added Extensions Methods --- API/Controllers/ErrorController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'API/Controllers/ErrorController.cs') 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"); -- cgit v1.2.3