Commit c2ac9042 authored by Dave Pisek's avatar Dave Pisek

Fix failing rspec test

parent 6da52d3f
......@@ -2,9 +2,9 @@
module Projects
class DastProfilesController < Projects::ApplicationController
before_action :authorize_read_on_demand_scans!
before_action do
push_frontend_feature_flag(:security_on_demand_scans_scanner_profiles, project, default_enabled: false)
:authorize_read_on_demand_scans!
end
def index
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment