-
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
Earth - Olga #38
base: master
Are you sure you want to change the base?
Earth - Olga #38
Conversation
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.
MediaRanker Revisted
Major Learning Goals/Code Review
Functional Requirements
Functional Requirement | yes/no |
---|---|
Completed OAuth: Logging in goes through GitHub | ✔️ |
Overall Feedback
Overall Feedback | Criteria | yes/no |
---|---|---|
Green (Meets/Exceeds Standards) | 1 in Functional Requirements and controller methods are cleanly written with appropriate model methods for Oauth | 💚 |
Summary
Nice work, this functions, just remember to remove the .env file from git.
# redirect_to root_path | ||
# end | ||
# | ||
def create |
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.
👍 Looks good
<% if session[:user_id] %> | ||
<li class="nav-item app-header__nav_item"> | ||
<%= link_to "Log out", logout_path, method: "post" %> | ||
</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.
This is fine, but it would be nice to have a controller filter that sets @current_user
or something so you could use that instance variable.
Assignment Submission: Media Ranker Revisited
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection