Browse Source

style: line code

pull/1027/head
Sam Seed 4 years ago
parent
commit
1e8562d125
  1. 2
      app/models/scheme.rb

2
app/models/scheme.rb

@ -213,7 +213,7 @@ class Scheme < ApplicationRecord
end
def validate_owning_organisation
if !owning_organisation.holds_own_stock?
unless owning_organisation.holds_own_stock?
errors.add(:owning_organisation_id, :does_not_own_stock, message: I18n.t("validations.scheme.owning_organisation.does_not_own_stock"))
end
end

Loading…
Cancel
Save