summaryrefslogtreecommitdiffstats
path: root/app/models/time_entry_activity_custom_field.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-10-21 22:34:22 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-10-21 22:34:22 +0000
commitac4937a76755de2f9b6a83f6160efa0fde2d03aa (patch)
tree611bf32cf6c377b65e3362583f4846e1f6a69210 /app/models/time_entry_activity_custom_field.rb
parent29ab7b4108cb45bc4efb44253419fa2e658ac3e9 (diff)
downloadredmine-ac4937a76755de2f9b6a83f6160efa0fde2d03aa.tar.gz
redmine-ac4937a76755de2f9b6a83f6160efa0fde2d03aa.zip
Enumerations can now have custom fields defined on them. #4077
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2945 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry_activity_custom_field.rb')
-rw-r--r--app/models/time_entry_activity_custom_field.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/models/time_entry_activity_custom_field.rb b/app/models/time_entry_activity_custom_field.rb
new file mode 100644
index 000000000..149bbb5c8
--- /dev/null
+++ b/app/models/time_entry_activity_custom_field.rb
@@ -0,0 +1,23 @@
+# redMine - project management software
+# Copyright (C) 2006 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+class TimeEntryActivityCustomField < CustomField
+ def type_name
+ :enumeration_time_entry_activities
+ end
+end
+