Skip to content

Commit

Permalink
Standardize
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Nov 8, 2023
1 parent a42dd83 commit d1020bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/hackathon/website/archivable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def website_or_archive_url

def website_archived?
if events.loaded?
events.any? {|e| e.action == "archived_website"}
events.any? { |e| e.action == "archived_website" }
else
events.where(action: "archived_website").exists?
end
Expand Down

0 comments on commit d1020bd

Please sign in to comment.