Skip to content

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