-
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
Task list complete #91
base: master
Are you sure you want to change the base?
Conversation
wrote the test but they are not running properly
Bmp phase three
better but needs improvements
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.
@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"> |
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.
Nice turning your header into a partial form, similarly with the common footer.
protect_from_forgery with: :exception | ||
|
||
helper_method :current_user | ||
|
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.
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'] |
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.
David Austin
user.uid = auth_hash[:uid] | ||
user.provider = 'github' | ||
user.name = auth_hash['info']['name'] | ||
user.email = auth_hash['info']['email'] |
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.
@CheezItMan