-
Notifications
You must be signed in to change notification settings - Fork 0
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
HER-23-add-teacher-to-roles-in-user #16
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.
comments are recommendations. lgtm
setIsTeacher((prevIsTeacher) => { | ||
const newIsTeacher = !prevIsTeacher; | ||
if (newIsTeacher) { | ||
console.log("I am a Teacher"); | ||
} else { | ||
console.log("I am not a teacher"); | ||
} | ||
return newIsTeacher; | ||
}); |
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.
see comment on #15
Co-authored-by: Raquel Román-Rodriguez <[email protected]>
Co-authored-by: Raquel Román-Rodriguez <[email protected]>
Merge conflicts resolved. Fixed missing closing div on Registration page. |
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.
lgtm
HER-23: Add
teacher
to roles in userIssue
https://raquelanaroman.atlassian.net/browse/HER-23
As a teacher-user, I would like a way to distinguish myself from other types of users in the application.
Acceptance Criteria
HER-24
Changes
User model (app/models/user.rb):
Review Checklist