diff options
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 |