adds email sending preferences [#23]

This commit is contained in:
rgarcia
2015-08-07 20:56:27 +02:00
parent 3752054aab
commit beb1a796f5
7 changed files with 34 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class AccountController < ApplicationController
end
def account_params
params.require(:account).permit(:first_name, :last_name, :nickname, :use_nickname)
params.require(:account).permit(:first_name, :last_name, :nickname, :use_nickname, :email_on_debate_comment, :email_on_comment_reply)
end
end