diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-12 14:24:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-12 14:24:04 +0000 |
commit | e4f2e0fd37885eb79f9c8815e957c9b9f73f4ad2 (patch) | |
tree | 0c6ce486534c4a44c287af16636a24b4c61188b5 /app/controllers/custom_fields_controller.rb | |
parent | 4e65be9ed1084f261f0aae63e2901c2248730fe7 (diff) | |
download | redmine-e4f2e0fd37885eb79f9c8815e957c9b9f73f4ad2.tar.gz redmine-e4f2e0fd37885eb79f9c8815e957c9b9f73f4ad2.zip |
Removed deprecated Object#type in CustomFieldsController.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@615 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, 1 insertions, 1 deletions
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 |