From 5b21efd4a432263af5521a60d99785effad7f83b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 2 Dec 2012 19:09:42 +0000 Subject: Replaces find(:all) calls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/custom_fields_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/custom_fields_controller.rb') diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 96f2518bb..fb03277a7 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -23,7 +23,7 @@ class CustomFieldsController < ApplicationController before_filter :find_custom_field, :only => [:edit, :update, :destroy] def index - @custom_fields_by_type = CustomField.find(:all).group_by {|f| f.class.name } + @custom_fields_by_type = CustomField.all.group_by {|f| f.class.name } @tab = params[:tab] || 'IssueCustomField' end -- cgit v1.2.3