Browse Source

lint

pull/883/head
Ted-U 3 years ago
parent
commit
d1bb8a5d6f
  1. 4
      app/models/form/sales/pages/joint_purchase.rb
  2. 3
      app/models/form/sales/questions/joint_purchase.rb

4
app/models/form/sales/pages/joint_purchase.rb

@ -5,7 +5,6 @@ class Form::Sales::Pages::JointPurchase < ::Form::Page
@header = "" @header = ""
@description = "" @description = ""
@subsection = subsection @subsection = subsection
}]
end end
def questions def questions
@ -13,5 +12,4 @@ class Form::Sales::Pages::JointPurchase < ::Form::Page
Form::Sales::Questions::JointPurchase.new(nil, nil, self), Form::Sales::Questions::JointPurchase.new(nil, nil, self),
] ]
end end
end end

3
app/models/form/sales/questions/joint_purchase.rb

@ -14,5 +14,4 @@ class Form::Sales::Questions::JointPurchase < ::Form::Question
"1" => { "value" => "Yes" }, "1" => { "value" => "Yes" },
"0" => { "value" => "No" }, "0" => { "value" => "No" },
}.freeze }.freeze
end end

Loading…
Cancel
Save