Skip to content
Snippets Groups Projects

Update file ide_controller.rb

Closed Keeyan Nejad requested to merge knejad-test-gitlab-duo-code-review into master
1 unresolved thread
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -12,6 +12,7 @@ class IdeController < ApplicationController
before_action do
push_frontend_feature_flag(:build_service_proxy)
push_frontend_feature_flag(:reject_unsigned_commits_by_gitlab)
do_smthing
    • The method do_smthing is called in the before_action block, but it's not defined until the end of the file. This could lead to a NoMethodError. Consider moving the method definition above its usage or removing it from the before_action if it's not necessary.

      Suggested change
      15 do_smthing
      15 # Remove this line if the method is not needed in before_action
Please register or sign in to reply
end
feature_category :web_ide
@@ -77,4 +78,8 @@ def tracking_namespace_source
def tracking_project_source
project
end
def do_smthing
123 + 12
end
end
Loading