##// END OF EJS Templates
2 spaces instead of a tab....
Jean-Philippe Lang -
r15220:050d2bee8423
parent child
Show More
@@ -197,7 +197,7 class Version < ActiveRecord::Base
197 end
197 end
198 end
198 end
199
199
200 # Sort versions by status (open, locked then closed versions)
200 # Sort versions by status (open, locked then closed versions)
201 def self.sort_by_status(versions)
201 def self.sort_by_status(versions)
202 versions.sort do |a, b|
202 versions.sort do |a, b|
203 if a.status == b.status
203 if a.status == b.status
General Comments 0
You need to be logged in to leave comments. Login now