]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to app/models/group_builtin.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Nov 2020 14:47:00 +0000 (14:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Nov 2020 14:47:00 +0000 (14:47 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20503 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/group_builtin.rb

index 1054d9d869168689cbcc607e08d6b6c8d34d5dc8..90fb3424bf0f218973b6c3d1f14e1f1a01d0fed1 100644 (file)
@@ -39,15 +39,18 @@ class GroupBuiltin < Group
   class << self
     def load_instance
       return nil if self == GroupBuiltin
+
       instance = unscoped.order('id').first || create_instance
     end
 
     def create_instance
       raise 'The builtin group already exists.' if exists?
+
       instance = unscoped.new
       instance.lastname = name
       instance.save :validate => false
       raise 'Unable to create builtin group.' if instance.new_record?
+
       instance
     end
     private :create_instance