mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Adding notifications_enabled attribute to users
This diff just contains the migration and profile edition. Refers to [This Project Card](https://github.com/riggraz/astuto/projects/1#card-31194036) and #33
This commit is contained in:
committed by
Riccardo Graziosi
parent
0cc130a797
commit
9dfb13eff6
@@ -5,8 +5,8 @@ class ApplicationController < ActionController::Base
|
||||
protected
|
||||
|
||||
def configure_permitted_parameters
|
||||
devise_parameter_sanitizer.permit(:sign_up, keys: [:full_name])
|
||||
devise_parameter_sanitizer.permit(:account_update, keys: [:full_name])
|
||||
devise_parameter_sanitizer.permit(:sign_up, keys: [:full_name, :notifications_enabled])
|
||||
devise_parameter_sanitizer.permit(:account_update, keys: [:full_name, :notifications_enabled])
|
||||
end
|
||||
|
||||
def load_boards
|
||||
|
||||
Reference in New Issue
Block a user