Skip to content
代码片段 群组 项目
提交 96f9d759 编辑于 作者: Philip Cunningham's avatar Philip Cunningham 提交者: Stan Hu
浏览文件

Refactor DastSiteProfilesController to use finder

上级 633b0d5a
No related branches found
No related tags found
无相关合并请求
...@@ -11,10 +11,7 @@ def new ...@@ -11,10 +11,7 @@ def new
end end
def edit def edit
@site_profile = @project @site_profile = DastSiteProfilesFinder.new(project_id: @project.id, id: params[:id]).execute.first! # rubocop: disable CodeReuse/ActiveRecord
.dast_site_profiles
.with_dast_site
.find(params[:id])
end end
end end
end end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册