Browse Source

refactor: lint

pull/1538/head
natdeanlewissoftwire 2 years ago
parent
commit
60d6f9f610
  1. 2
      app/models/form/lettings/pages/min_rent_value_check.rb
  2. 2
      app/models/validations/financial_validations.rb

2
app/models/form/lettings/pages/min_rent_value_check.rb

@ -17,7 +17,7 @@ class Form::Lettings::Pages::MinRentValueCheck < ::Form::Page
},
],
},
@check_answers_card_number = check_answers_card_number
@check_answers_card_number = check_answers_card_number
end
def questions

2
app/models/validations/financial_validations.rb

@ -138,7 +138,7 @@ module Validations::FinancialValidations
message = I18n.t("validations.financial.carehome.out_of_range", period:, min_chcharge:, max_chcharge:)
record.errors.add :period, message
record.errors.add :chcharge, :out_of_range, message: message
record.errors.add :chcharge, :out_of_range, message:
end
end
end

Loading…
Cancel
Save