Skip to content

Commit

Permalink
Remove redundant @
Browse files Browse the repository at this point in the history
There's an `:attr_reader` method so this is not needed
  • Loading branch information
yndajas committed Apr 25, 2024
1 parent f125c4e commit 097e631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/publishing_api_document_republishing_worker.rb
Expand Up @@ -57,7 +57,7 @@ def the_document_has_non_superseded_editions_to_republish?
end

def the_document_has_been_unpublished?
@latest_unpublished_edition.present?
latest_unpublished_edition.present?
end

def the_document_has_been_withdrawn?
Expand Down

0 comments on commit 097e631

Please sign in to comment.