mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
add empty line after guard clause to app/models/custom_field.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20267 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -203,6 +203,7 @@ class CustomField < ActiveRecord::Base
|
||||
# Returns nil if the custom field can not be used for sorting.
|
||||
def order_statement
|
||||
return nil if multiple?
|
||||
|
||||
format.order_statement(self)
|
||||
end
|
||||
|
||||
@@ -210,6 +211,7 @@ class CustomField < ActiveRecord::Base
|
||||
# Returns nil if the custom field can not be used for grouping.
|
||||
def group_statement
|
||||
return nil if multiple?
|
||||
|
||||
format.group_statement(self)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user