diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-22 18:52:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-22 18:52:00 +0000 |
commit | 898fac293b3d8042de3c1747776fac90d3ed40fa (patch) | |
tree | 1060a3fe53e880892ebb78df12d5311bf14b54c7 /app/controllers/custom_fields_controller.rb | |
parent | 590a829a06d4106f7827ddf242a0de5c0ca3e197 (diff) | |
download | redmine-898fac293b3d8042de3c1747776fac90d3ed40fa.tar.gz redmine-898fac293b3d8042de3c1747776fac90d3ed40fa.zip |
Adds custom fields on time entries (#772).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1689 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/custom_fields_controller.rb')
-rw-r--r-- | app/controllers/custom_fields_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 1e1c988d9..d30e89493 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -39,6 +39,8 @@ class CustomFieldsController < ApplicationController @custom_field = UserCustomField.new(params[:custom_field]) when "ProjectCustomField" @custom_field = ProjectCustomField.new(params[:custom_field]) + when "TimeEntryCustomField" + @custom_field = TimeEntryCustomField.new(params[:custom_field]) else redirect_to :action => 'list' return |