]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of app/models/group.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:36:12 +0000 (15:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:36:12 +0000 (15:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20110 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/group.rb

index 1460e0ee5b20f842f91988cb6a583f16c5e4064c..2a1c2566d17937d89f0f3821637f671f7b888bc7 100644 (file)
@@ -35,7 +35,7 @@ class Group < Principal
 
   before_destroy :remove_references_before_destroy
 
-  scope :sorted, lambda { order(:type => :asc, :lastname => :asc) }
+  scope :sorted, lambda {order(:type => :asc, :lastname => :asc)}
   scope :named, lambda {|arg| where("LOWER(#{table_name}.lastname) = LOWER(?)", arg.to_s.strip)}
   scope :givable, lambda {where(:type => 'Group')}