Skip to content

Commit 2f3d218

Browse files
committed
Fixed file viewer links
1 parent 1a6a543 commit 2f3d218

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netmockery/Views/Shared/Components/ResponseCreator/FileDynamicResponseCreator.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@using netmockery
22
@model FileDynamicResponseCreator
33
Script:
4-
<a href="@Url.Action("ViewRequestCreatorFile", new { name = (string)ViewData["endpointName"], requestCreatorId = (int)ViewData["index"] })">
4+
<a href="@Url.Action("ViewRequestCreatorFile", "Endpoints", new { name = (string)ViewData["endpointName"], requestCreatorId = (int)ViewData["index"] })">
55
<code>@System.IO.Path.GetFileName(Model.Filename)</code>
66
</a>
77

netmockery/Views/Shared/Components/ResponseCreator/FileResponse.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@using netmockery
22
@model FileResponse
33
From file:
4-
<a href="@Url.Action("ViewRequestCreatorFile", new { name = (string)ViewData["endpointName"], requestCreatorId = (int)ViewData["index"] })">
4+
<a href="@Url.Action("ViewRequestCreatorFile", "Endpoints", new { name = (string)ViewData["endpointName"], requestCreatorId = (int)ViewData["index"] })">
55
<code>@System.IO.Path.GetFileName(Model.Filename)</code>
66
</a>
77

0 commit comments

Comments
 (0)