-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issue #11 🎫: Navigation bar #20
Conversation
- Require user authentication for all actions. - Add 'current_user' to 'foods#create' action. - Replace notices with flash messages. - Remove 'user_id' from private 'foods#food_params'.
- Also wrap yield in a div with class 'container'.
- _food partial. - _form partial. - index view. - new view.
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.
STATUS: APPROVED 🟢
Hi @ITurres 👋,
Your ticket 🎟️ is complete! There is nothing else to say other than... it's time to merge it
Congratulations! 🎉
To Highlight 🎉
- Good job with Navbar. ✔️
- PR has a good title and summary. ✔️
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me with @demesameneshoa in your question so I can receive the notification.
Pull Request Summary for Issue #11 Completion
🛑 Note: Files and Commits from the previous PR (not yet approved) will be listed as well.
Commits of the changes that were made to complete the issue:
dc2d6f3
Chore: Add project favicon, logo, images-file
.3559ef3
Add '_navbar' layout partial
.25e1ab3
Feat: add favicon and render 'navbar' partial on application layout
.Added:
/app/assets/images/recipes-app-logo-png-favicon.png
/app/assets/images/recipes-app-logo-png-large.png
/app/assets/images/recipes-app-logo-png-small.png
/app/views/layouts/_navbar.html.erb
I have added this new layout partial to render the navbar. Which will contain the logo, and conditionally render the login and logout buttons, as well as the
My-Recipes
,Foods-List
andShopping-List
links.The
Public-Recipes
link will render regardless of the user being logged in or not.🛑 Note:
My-Recipes
,Foods-List
andShopping-List
links point toroot_path
for the moment.Modified:
/app/views/layouts/application.html.erb
navbar
partial to theapplication
layout.head
tag.Thank you for reviewing this PR. Feel free to reach out on Slack as Arturo (Arthur) Emanuel Guerra Iturres for any queries or further assistance. 🌟