Skip to content

Commit 26c3b00

Browse files
committed
Bug fix in class router
1 parent 097af04 commit 26c3b00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

uhttpsharp.dll.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>uHttpSharp</id>
5-
<version>0.1.5.2</version>
5+
<version>0.1.5.4</version>
66
<title>uHttpSharp</title>
77
<authors>Shani Elharrar, Joe White, Hüseyin Uslu</authors>
88
<owners>Shani Elharrar, Joe White, Hüseyin Uslu</owners>

uhttpsharp/Handlers/ClassRouter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private void LoadRoute(IHttpRequestHandler root)
4646
var routes = GetRoutesOfHandler(rootType);
4747
foreach (var route in routes)
4848
{
49-
var tuple = Tuple.Create(route.PropertyType, route.Name);
49+
var tuple = Tuple.Create(rootType, route.Name);
5050
var value = CreateRoute(tuple);
5151
Routers.Add(tuple, value);
5252
}

0 commit comments

Comments
 (0)