]> source.dussan.org Git - redmine.git/commitdiff
remove trailing tabs from app/models/project.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 17 Feb 2013 10:14:08 +0000 (10:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 17 Feb 2013 10:14:08 +0000 (10:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11415 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index 8b305f3d8f29caf22d160487b5057a14c15b00e0..4591d563c85f02cf4bab8037c2a7145b3a27ca6b 100644 (file)
@@ -146,8 +146,8 @@ class Project < ActiveRecord::Base
   # returns latest created projects
   # non public projects will be returned only if user is a member of those
   def self.latest(user=nil, count=5)
-    visible(user).limit(count).order("created_on DESC").all    
-  end  
+    visible(user).limit(count).order("created_on DESC").all
+  end
 
   # Returns true if the project is visible to +user+ or to the current user.
   def visible?(user=User.current)