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:
Jean-Philippe Lang
2012-12-02 19:09:42 +00:00
parent 1951c6a3fd
commit 5b21efd4a4
10 changed files with 29 additions and 26 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class DocumentsController < ApplicationController
end
def show
@attachments = @document.attachments.find(:all, :order => "created_on DESC")
@attachments = @document.attachments.all
end
def new