aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'AirPollutionWebApi/Controllers/ReadingsController.cs')
-rw-r--r--AirPollutionWebApi/Controllers/ReadingsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/AirPollutionWebApi/Controllers/ReadingsController.cs b/AirPollutionWebApi/Controllers/ReadingsController.cs
index 9173f72..19b87e7 100644
--- a/AirPollutionWebApi/Controllers/ReadingsController.cs
+++ b/AirPollutionWebApi/Controllers/ReadingsController.cs
@@ -23,7 +23,7 @@ namespace AirPollutionWebApi.Controllers
else return NotFound();
}
- [Route("/api/Readings/latest")]
+ [Route("api/Readings/latest")]
public IHttpActionResult GetLatestReading()
{
var readings = SqlOperator.GetAllReadings();