-
Notifications
You must be signed in to change notification settings - Fork 47
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chantelle Edges Api Muncher #33
base: master
Are you sure you want to change the base?
Conversation
…gress -- and bundle install / config and added things to gemfile for development and testing
API MuncherWhat We're Looking For
|
<div class="col-sm"> | ||
<ul> | ||
<li><strong><%= recipe.name %></strong></li> | ||
<li><%= image_tag recipe.image_url %></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note, it's good to make the images links because it's human nature to want to click on the images.
else | ||
#render not found view | ||
#flash error | ||
head :not_found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you're giving only the head
in the response and not rendering any page. You should probably render something to the user.
API Muncher
Congratulations! You're submitting your assignment!
Comprehension Questions
lib
? How would your project change if you needed to interact with more than one API (aka more than just the Edamam API)?