summaryrefslogtreecommitdiffstats
path: root/app/controllers/trackers_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-02 19:09:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-02 19:09:42 +0000
commit5b21efd4a432263af5521a60d99785effad7f83b (patch)
tree41c3ecd1ce15b35eb501b50b4c9972fc878b4255 /app/controllers/trackers_controller.rb
parent1951c6a3fdc00853053c638b728c358931f8c017 (diff)
downloadredmine-5b21efd4a432263af5521a60d99785effad7f83b.tar.gz
redmine-5b21efd4a432263af5521a60d99785effad7f83b.zip
Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/trackers_controller.rb')
-rw-r--r--app/controllers/trackers_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb
index 02f91eaab..3c08e30a7 100644
--- a/app/controllers/trackers_controller.rb
+++ b/app/controllers/trackers_controller.rb
@@ -37,7 +37,7 @@ class TrackersController < ApplicationController
def new
@tracker ||= Tracker.new(params[:tracker])
@trackers = Tracker.find :all, :order => 'position'
- @projects = Project.find(:all)
+ @projects = Project.all
end
def create
@@ -57,7 +57,7 @@ class TrackersController < ApplicationController
def edit
@tracker ||= Tracker.find(params[:id])
- @projects = Project.find(:all)
+ @projects = Project.all
end
def update