diff options
author | Juliette de Rancourt <derancourt.juliette@gmail.com> | 2019-08-30 09:16:01 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2019-08-30 09:16:01 +0300 |
commit | 8501e13bbc5f423b90c0ebbf20da90801a6fa410 (patch) | |
tree | 5843dd67539c2e37029c1f18894879c9da13b4ad /app | |
parent | 770a15b0217a7449da381b6adb5b1dd378903e79 (diff) |
Resolve "Use "moved" instead of "closed" in issue references"
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index caea8eadd18..75d4fc8c1c5 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -178,7 +178,7 @@ class Issue < ApplicationRecord end def moved? - !moved_to.nil? + !moved_to_id.nil? end def can_move?(user, to_project = nil) |