-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
E2126. Refactor account_request_controller.rb #2117
Conversation
…and saving to own method
…to save_reqeuested_user
This reverts commit 71e62c9.
…bles/errormessages more readable
Generated by expertiza-bot |
Generated by expertiza-bot |
Hey @majuabir, |
1 similar comment
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.
needs manual testing and code tests
def create_approved_user | ||
# If a user isn't selected before approving or denying, they are given an error message | ||
if params[:selection] == nil |
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.
use .nil?
Team members
Abir Majumder
Connor Smith
Joshua Myers
Wiki with all the proposed changes:
https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2126._Refactor_account_request_controller.rb