summaryrefslogtreecommitdiff
path: root/app/presenters/projects/security/configuration_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/projects/security/configuration_presenter.rb')
-rw-r--r--app/presenters/projects/security/configuration_presenter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/presenters/projects/security/configuration_presenter.rb b/app/presenters/projects/security/configuration_presenter.rb
index 89fca1a451a..1798d4b780f 100644
--- a/app/presenters/projects/security/configuration_presenter.rb
+++ b/app/presenters/projects/security/configuration_presenter.rb
@@ -80,7 +80,8 @@ module Projects
type: scan.type,
configured: scan.configured?,
configuration_path: scan.configuration_path,
- available: scan.available?
+ available: scan.available?,
+ can_enable_by_merge_request: scan.can_enable_by_merge_request?
}
end