diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-21 09:39:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-21 09:39:29 +0000 |
commit | 11725be2788bfb3c100e82e4b24fc49c5303cd29 (patch) | |
tree | 7964dbddec79b19a42b8410a3a79d80dc5e1e6fe /app/models/version.rb | |
parent | 4d6596e534db9aad4ecb6451074620759225d3a3 (diff) | |
download | redmine-11725be2788bfb3c100e82e4b24fc49c5303cd29.tar.gz redmine-11725be2788bfb3c100e82e4b24fc49c5303cd29.zip |
Makes Version REST API accept due_date attribute (#10013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8686 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version.rb')
-rw-r--r-- | app/models/version.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index 8002ac9c8..08463976b 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -56,6 +56,10 @@ class Version < ActiveRecord::Base effective_date end + def due_date=(arg) + self.effective_date=(arg) + end + # Returns the total estimated time for this version # (sum of leaves estimated_hours) def estimated_hours |