You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/actions.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -450,6 +450,14 @@ $options_table{
450
450
assert @route_name == "my_page"
451
451
]]}
452
452
},
453
+
{
454
+
name = $self_ref{"route_pattern"},
455
+
description = "The route pattern string that was matched during routing, if available",
456
+
example = $dual_code{[[
457
+
app\match "my_page", "/my-page", =>
458
+
assert @route_pattern == "/my-page"
459
+
]]}
460
+
},
453
461
{
454
462
name = $self_ref{"params"},
455
463
description = "A table containing all request parameters merged together, including query parameters and form-encoded parameters from the body of the request. See [Request Parameters](#request_parameters) for more details."
0 commit comments