mirror of https://github.com/docusealco/docuseal
erblint's autocorrect on the prior commit stripped the opening <% tag from the variable-assignment block in app/views/shared/_account_logo.html.erb, leaving plain Ruby code as literal HTML and a NameError on every render. The "Failure/Error: <% if acc&.logo&.attached? %>" cascade in CI was 40+ specs hitting this partial via the navbar / start_form / submit_form / share-link QR / submission show paths. Restoring the proper <% ... %> tag. Also drop the now-redundant `# rubocop:disable Rails/Exit` comments in spec/rails_helper.rb (CI's rubocop-rails doesn't flag those lines) and add the same path to .rubocop.yml's Rails/Exit Exclude so the project's local rubocop agrees. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>pull/687/head
parent
8dbf5b6cab
commit
a02e49c044
Loading…
Reference in new issue