From: Jean-Philippe Lang Date: Sun, 12 Aug 2007 14:24:04 +0000 (+0000) Subject: Removed deprecated Object#type in CustomFieldsController. X-Git-Tag: 0.6.0~259 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e4f2e0fd37885eb79f9c8815e957c9b9f73f4ad2;p=redmine.git Removed deprecated Object#type in CustomFieldsController. git-svn-id: http://redmine.rubyforge.org/svn/trunk@615 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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