mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-04 14:49:41 +00: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:
parent
40be0ae5e0
commit
4394198751
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user