Skip to content

Commit 9da5ec7

Browse files
committed
Ruby: Drive-by fix a QL4QL alert
1 parent e549f15 commit 9da5ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ ActionControllerClass getAssociatedControllerClass(ErbFile f) {
474474
// TODO: improve layout support, e.g. for `layout` method
475475
// https://guides.rubyonrails.org/layouts_and_rendering.html
476476
/**
477-
* Holds if `templatesFile` is a viable file "belonging" to the given
477+
* Holds if `templateFile` is a viable file "belonging" to the given
478478
* `ActionControllerControllerClass`, according to Rails conventions.
479479
*
480480
* This handles mappings between controllers in `app/controllers/`, and

0 commit comments

Comments
 (0)