improve download releases button #84

Closed
bilal.catic wants to merge 3 commits from improve-download-button-function into master
Showing only changes of commit 98afad4174 - Show all commits

View File

@@ -164,10 +164,6 @@ class AppearanceRelease < ApplicationRecord
"#{project.name.parameterize}_#{contract_template.release_type}_#{(signed_at || created_at).strftime('%Y.%m.%d')}_#{release_number}_#{filename_suffix.parameterize}"
end
def complete?
person_photo.attached? && contract.attached?
end
private
# Validates the quality of the person photo