Adds phone_number to the regular user registration / account views

This commit is contained in:
kikito
2015-08-17 01:12:14 +02:00
parent e84873d875
commit 543f718891
8 changed files with 18 additions and 2 deletions

View File

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