diff --git a/src/RouteConditionApplier.php b/src/RouteConditionApplier.php
index <HASH>..<HASH> 100644
--- a/src/RouteConditionApplier.php
+++ b/src/RouteConditionApplier.php
@@ -63,7 +63,18 @@ class RouteConditionApplier
 
     public function getActions($action)
     {
-        return $this->actions[$action] ?? function(){};
+        if (array_key_exists($action, $this->actions)) {
+            return $this->actions[$action];
+        }
+
+        foreach ($this->actions as $pattern => $callback) {
+            if (Str::is($pattern, $action)) {
+                return $callback;
+            };
+        }
+
+        return function () {
+        };
     }
 
     /**
make controller actions be matched with patterns