Skip to content

Commit dd1b302

Browse files
committed
Ruby: revert making inActionViewContext private
1 parent a738f1d commit dd1b302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionView.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private import codeql.ruby.frameworks.Rails
1414
/**
1515
* Holds if this AST node is in a context where `ActionView` methods are available.
1616
*/
17-
private predicate inActionViewContext(AstNode n) {
17+
predicate inActionViewContext(AstNode n) {
1818
// Within a template
1919
n.getLocation().getFile() instanceof ErbFile
2020
}

0 commit comments

Comments
 (0)