diff options
Diffstat (limited to 'app/models/dashboard_milestone.rb')
-rw-r--r-- | app/models/dashboard_milestone.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/dashboard_milestone.rb b/app/models/dashboard_milestone.rb index 9b377b70e5b..fd59b94b737 100644 --- a/app/models/dashboard_milestone.rb +++ b/app/models/dashboard_milestone.rb @@ -12,4 +12,8 @@ class DashboardMilestone < GlobalMilestone def project_milestone? true end + + def merge_requests_enabled? + project.merge_requests_enabled? + end end |