File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
ruby/ql/test/library-tests/frameworks/action_dispatch Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ actionDispatchRoutes
36
36
actionDispatchControllerMethods
37
37
| app/config/routes.rb:2:3:8:5 | call to resources | app/controllers/posts_controller.rb:2:3:3:5 | index |
38
38
| app/config/routes.rb:2:3:8:5 | call to resources | app/controllers/posts_controller.rb:5:3:6:5 | show |
39
- | app/config/routes.rb:3:5:6:7 | call to resources | app/controllers/comments_controller.rb:2:3:36 :5 | index |
40
- | app/config/routes.rb:3:5:6:7 | call to resources | app/controllers/comments_controller.rb:38 :3:39 :5 | show |
39
+ | app/config/routes.rb:3:5:6:7 | call to resources | app/controllers/comments_controller.rb:2:3:39 :5 | index |
40
+ | app/config/routes.rb:3:5:6:7 | call to resources | app/controllers/comments_controller.rb:41 :3:42 :5 | show |
41
41
| app/config/routes.rb:7:5:7:37 | call to post | app/controllers/posts_controller.rb:8:3:9:5 | upvote |
42
42
| app/config/routes.rb:27:3:27:48 | call to match | app/controllers/photos_controller.rb:2:3:3:5 | show |
43
43
| app/config/routes.rb:28:3:28:50 | call to match | app/controllers/photos_controller.rb:2:3:3:5 | show |
@@ -74,6 +74,7 @@ requestInputAccesses
74
74
| app/controllers/comments_controller.rb:7:5:7:28 | call to query_parameters |
75
75
| app/controllers/comments_controller.rb:8:5:8:30 | call to request_parameters |
76
76
| app/controllers/comments_controller.rb:9:5:9:31 | call to filtered_parameters |
77
+ | app/controllers/comments_controller.rb:38:5:38:14 | call to params |
77
78
| app/controllers/foo/bars_controller.rb:10:27:10:33 | call to cookies |
78
79
| app/controllers/foo/bars_controller.rb:13:21:13:26 | call to params |
79
80
| app/controllers/foo/bars_controller.rb:14:10:14:15 | call to params |
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ def index
33
33
response . last_modified = Date . yesterday
34
34
response . weak_etag = "value"
35
35
response . strong_etag = "value"
36
+
37
+ req = ActionDispatch ::Request . new ( request . env )
38
+ req . params
36
39
end
37
40
38
41
def show
You can’t perform that action at this time.
0 commit comments