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

Allow users to change email reminder preference #59

Merged

Conversation

kurtisnotcurtis
Copy link
Collaborator

This commit adds a new column receive_reminder_email to the users
table and made it possible for users to view and edit their preference
through the application.

This commit adds a new column `receive_reminder_email` to the users
 table and made it possible for users to view and edit their preference
 through the application.
@@ -30,6 +30,6 @@ def create
private

def user_params
params.require(:user).permit(:first_name, :last_name, :email, :password)
params.require(:user).permit(:first_name, :last_name, :email, :password, :receive_reminder_email)
Copy link

Choose a reason for hiding this comment

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

Layout/LineLength: Line is too long. [101/80]

@thestrabusiness thestrabusiness linked an issue Nov 28, 2020 that may be closed by this pull request
@thestrabusiness thestrabusiness merged commit fd47ba1 into am-kg-edit-profile Dec 8, 2020
thestrabusiness pushed a commit that referenced this pull request Dec 8, 2020
This commit adds a new column `receive_reminder_email` to the users
 table and made it possible for users to view and edit their preference
 through the application.
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.

Users should be able to edit their profile (name, email etc.)
3 participants