summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs
diff options
context:
space:
mode:
authorGuillaume <guillaumelacasa@hotmail.com>2013-06-12 22:12:40 +0200
committerGuillaume <guillaumelacasa@hotmail.com>2013-06-12 22:12:40 +0200
commitb06c0faaf8881f9447f3fd682feffcf3ddae1990 (patch)
tree5e1b02b441e672171d2438e09880484131991a2f /TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs
parent9cfb653f0b1ddcdc221a3abcb9e16769e0ab1d71 (diff)
downloadTwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.zip
TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.gz
TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.bz2
Test site ok
Diffstat (limited to 'TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs')
-rw-r--r--TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs b/TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs
new file mode 100644
index 0000000..1ff1be7
--- /dev/null
+++ b/TwoStepsAuthenticator.TestWebsite/App_Start/WebApiConfig.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web.Http;
+
+namespace TwoStepsAuthenticator.TestWebsite
+{
+ public static class WebApiConfig
+ {
+ public static void Register(HttpConfiguration config)
+ {
+ config.Routes.MapHttpRoute(
+ name: "DefaultApi",
+ routeTemplate: "api/{controller}/{id}",
+ defaults: new { id = RouteParameter.Optional }
+ );
+ }
+ }
+}