Skip to content

Commit a56abea

Browse files
committed
More test shenanigans
1 parent f9695ce commit a56abea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Griddly.Mvc/GriddlyExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public static GriddlyContext GetOrCreateGriddlyContext(this ControllerBase contr
298298

299299
context = new GriddlyContext()
300300
{
301-
Name = (controller.GetType().Name + "_" + controller.ControllerContext.RouteData.GetRequiredString("action")).ToLower(),
301+
Name = (controller.GetType().Name + "_" + controller.ControllerContext.RouteData.Values["action"] as string).ToLower(),
302302
PageNumber = pageNumber,
303303
PageSize = pageSize,
304304
ExportFormat = exportFormat,

0 commit comments

Comments
 (0)