We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdfee1f commit 7270fe0Copy full SHA for 7270fe0
ql/lib/codeql/ruby/frameworks/ActionView.qll
@@ -97,7 +97,7 @@ abstract class RenderCall extends MethodCall {
97
*/
98
ErbFile getTemplateFile() {
99
result.getTemplateName() = this.getBaseName() and
100
- result.getRelativePath().matches("%/" + this.getSubPath() + "%")
+ result.getRelativePath().matches("%app/views/" + this.getSubPath() + "%")
101
}
102
103
/**
0 commit comments