Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kelsey 1027 #43

Merged
merged 9 commits into from
Oct 28, 2019
Merged

Kelsey 1027 #43

merged 9 commits into from
Oct 28, 2019

Conversation

kelsk
Copy link
Collaborator

@kelsk kelsk commented Oct 28, 2019

tests aren't 馃挴

@@ -55,7 +55,7 @@ def make_thumbnail_link(productInstance)
# ex: <%= make_thumbnail_link(@product1) %>
if productInstance.class == Product
if productInstance.img_url != nil
return link_to image_tag(productInstance.img_url, alt: 'picture of #{productInstance.name}', class: 'thumbnail'), product_path(id: productInstance.id)
return link_to image_tag(productInstance.img_url, alt: 'picture of ' + productInstance.name, class: 'thumbnail'), product_path(id: productInstance.id)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

@dhan0406 dhan0406 merged commit 9521252 into master Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants