summaryrefslogtreecommitdiff
path: root/app/models/release.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/release.rb')
-rw-r--r--app/models/release.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/release.rb b/app/models/release.rb
index 4fac64689ab..823fd61eebd 100644
--- a/app/models/release.rb
+++ b/app/models/release.rb
@@ -81,6 +81,10 @@ class Release < ApplicationRecord
evidence&.summary || {}
end
+ def milestone_titles
+ self.milestones.map {|m| m.title }.sort.join(", ")
+ end
+
private
def actual_sha