We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38bc9f commit 749dc09Copy full SHA for 749dc09
1 file changed
ruby/ql/lib/codeql/ruby/frameworks/ActionController.qll
@@ -94,7 +94,7 @@ class ActionControllerActionMethod extends Method, HTTP::Server::RequestHandler:
94
ActionDispatch::Route getARoute() {
95
result.getController() + "_controller" =
96
ActionDispatch::underscore(namespaceDeclaration(controllerClass)) and
97
- this.getName() = result.getAction()
+ isActionControllerMethod(this, result.getAction(), controllerClass)
98
}
99
100
0 commit comments