Skip to content

Commit 2e65f9b

Browse files
committed
update some comments referencing view components
1 parent 98fd0e1 commit 2e65f9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ abstract class HtmlSafeCall extends MethodCall {
2020
HtmlSafeCall() { this.getMethodName() = "html_safe" }
2121
}
2222

23-
// A call to `html_safe` from within a template or view component.
23+
// A call to `html_safe` from within a template.
2424
private class ActionViewHtmlSafeCall extends HtmlSafeCall {
2525
ActionViewHtmlSafeCall() { inActionViewContext(this) }
2626
}
@@ -40,7 +40,7 @@ class RawCall extends ActionViewContextCall {
4040
RawCall() { this.getMethodName() = "raw" }
4141
}
4242

43-
// A call to the `params` method within the context of a template or view component.
43+
// A call to the `params` method within the context of a template.
4444
private class ActionViewParamsCall extends ActionViewContextCall, ParamsCall { }
4545

4646
/**
@@ -100,7 +100,7 @@ abstract class RenderCall extends MethodCall {
100100
// TODO: implicit renders in controller actions
101101
}
102102

103-
// A call to the `render` method within the context of a template or view component.
103+
// A call to the `render` method within the context of a template.
104104
private class ActionViewRenderCall extends RenderCall, ActionViewContextCall { }
105105

106106
/**
@@ -110,7 +110,7 @@ abstract class RenderToCall extends MethodCall {
110110
RenderToCall() { this.getMethodName() = ["render_to_body", "render_to_string"] }
111111
}
112112

113-
// A call to `render_to` from within a template or view component.
113+
// A call to `render_to` from within a template.
114114
private class ActionViewRenderToCall extends ActionViewContextCall, RenderToCall { }
115115

116116
/**

0 commit comments

Comments
 (0)