Commit 7a44cd4e authored by Dheeraj Joshi's avatar Dheeraj Joshi

Address review suggestions

parent 255bae2b
...@@ -54,10 +54,6 @@ module Types ...@@ -54,10 +54,6 @@ module Types
object.dast_site.url object.dast_site.url
end end
def target_type
object.target_type
end
def edit_path def edit_path
Rails.application.routes.url_helpers.edit_project_security_configuration_dast_scans_dast_site_profile_path(object.project, object) Rails.application.routes.url_helpers.edit_project_security_configuration_dast_scans_dast_site_profile_path(object.project, object)
end end
...@@ -66,10 +62,6 @@ module Types ...@@ -66,10 +62,6 @@ module Types
object object
end end
def excluded_urls
object.excluded_urls
end
def normalized_target_url def normalized_target_url
DastSiteValidation.get_normalized_url_base(object.dast_site.url) DastSiteValidation.get_normalized_url_base(object.dast_site.url)
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