Photo Field in Customer,Employee and Commissionor
This commit is contained in:
@@ -68,6 +68,6 @@ class Settings::EmployeesController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def employee_params
|
||||
params.require(:employee).permit(:name, :role, :emp_id, :password)
|
||||
params.require(:employee).permit(:name, :role, :emp_id, :password, :image_path)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user