app/helpers/costumes_helper.rb
# return true if @costume has no rows w/ 2020 dance season in CostumeAssignments table
return true if @costume has no rows w/ 2020 dance season in CostumeAssignments table
return true if @costume has no rows w / 2020 dance season in CostumeAssignments table
def show_costume_with_link(costume, path)
    if costume_picture?(costume)
      link_to image_tag(costume.picture, width: 100), path
    elsif costume_onepiece_description?(costume)
      link_to costume.onepiece_description, path
    else
      link_to costume.twopiece_description, path
    end
  end
def show_costume_with_link ( costume , path ) if costume_picture? ( costume ) link_to image_tag ( costume . picture , width : 100 ) , path elsif costume_onepiece_description? ( costume ) link_to costume . onepiece_description , path else link_to costume . twopiece_description , path end end
return true if @costume has no rows w/ 2020 dance season in CostumeAssignments table
return true if @costume has no rows w / 2020 dance season in CostumeAssignments table
costume
<not_specific>
path
<not_specific>