diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-18 14:48:55 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-19 18:46:01 +0100 |
commit | 9b13ce0b7a50e65dfba31d4865a728c725daa3fe (patch) | |
tree | be153fe1447886f53975123b0214a6d1d6b608d1 /app/models/concerns | |
parent | fcf106897e2ff38e16e785ad9bcb18d117490fbf (diff) | |
download | gitlab-ce-9b13ce0b7a50e65dfba31d4865a728c725daa3fe.tar.gz |
Improvements in issue move feaure (refactoring)
According to endbosses' suggestions.
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/issuable.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index 86ab84615ba..9ab72652190 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -209,4 +209,13 @@ module Issuable Taskable.get_updated_tasks(old_content: previous_changes['description'].first, new_content: description) end + + ## + # Method that checks if issuable can be moved to another project. + # + # Should be overridden if issuable can be moved. + # + def can_move?(*) + false + end end |