Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class Poll < ActiveRecord::Base
|
||||
|
||||
# @!attribute required_ordergroup_custom_fields
|
||||
# A list of custom_fileds, which are required to poll.
|
||||
# If the required field on the ordergroup of the user
|
||||
|
|
@ -29,6 +28,7 @@ class Poll < ActiveRecord::Base
|
|||
|
||||
def available_points
|
||||
return 0...0 if min_points.nil? || max_points.nil?
|
||||
|
||||
min_points..max_points
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue