From e4f2e0fd37885eb79f9c8815e957c9b9f73f4ad2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 12 Aug 2007 14:24:04 +0000 Subject: [PATCH] Removed deprecated Object#type in CustomFieldsController. git-svn-id: http://redmine.rubyforge.org/svn/trunk@615 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/custom_fields_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 7fddcbae7..782de66a1 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -25,7 +25,7 @@ class CustomFieldsController < ApplicationController end def list - @custom_fields_by_type = CustomField.find(:all).group_by {|f| f.type.to_s } + @custom_fields_by_type = CustomField.find(:all).group_by {|f| f.class.name } @tab = params[:tab] || 'IssueCustomField' render :action => "list", :layout => false if request.xhr? end -- 2.39.5