Fix all rubocop Metrics/LineLength issues (140+)
This commit is contained in:
@@ -22,7 +22,8 @@ class Budget
|
||||
end
|
||||
|
||||
def check_valid_heading
|
||||
errors.add(:heading, "This heading's budget is invalid, or a heading on the same group was already selected") unless ballot.valid_heading?(heading)
|
||||
return if ballot.valid_heading?(heading)
|
||||
errors.add(:heading, "This heading's budget is invalid, or a heading on the same group was already selected")
|
||||
end
|
||||
|
||||
def check_selected
|
||||
|
||||
Reference in New Issue
Block a user