Add extra fields to accounts

This commit is contained in:
Phyo
2017-06-19 12:21:54 +06:30
parent 33128d26a2
commit 2dbbb17634
6 changed files with 36 additions and 10 deletions

View File

@@ -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