Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1951c6a3fd
commit
5b21efd4a4
10 files changed
+29
-26
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user