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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task list complete #91

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Conversation

BrandiPhillips
Copy link

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

@BrandiPhillips Looks good, you have some nice graphics on the homepage and the oAuth looks implemented well.

I like how you broke things out into partials. The only things not complete look like the tests, so overall well done. You've done well here.

@@ -0,0 +1,10 @@
<div class="top-bar">

Choose a reason for hiding this comment

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

Nice turning your header into a partial form, similarly with the common footer.

protect_from_forgery with: :exception

helper_method :current_user

Choose a reason for hiding this comment

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

Interesting use of the helper_method to make the current user available in the views.

user = User.new
user.uid = auth_hash[:uid]
user.provider = 'github'
user.name = auth_hash['info']['name']

Choose a reason for hiding this comment

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

David Austin

user.uid = auth_hash[:uid]
user.provider = 'github'
user.name = auth_hash['info']['name']
user.email = auth_hash['info']['email']

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants