Commit 6f2668e4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix rubocop complain on instance variable usage in module

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 153537a8
......@@ -6,10 +6,10 @@ module EE
def security
commit
if @pipeline.sast_artifact
if pipeline.sast_artifact
render_show
else
redirect_to pipeline_path(@pipeline)
redirect_to pipeline_path(pipeline)
end
end
end
......
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