Add extra fields to accounts
This commit is contained in:
@@ -68,6 +68,6 @@ class Settings::AccountsController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def account_params
|
||||
params.require(:account).permit(:title, :account_type)
|
||||
params.require(:account).permit(:title, :account_type,:discount,:point,:bonus,:rebate)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user