update employee active , addorder view

This commit is contained in:
Aung Myo
2018-05-22 16:54:18 +06:30
parent ead01f3d97
commit ec4a0a3f81
6 changed files with 55 additions and 35 deletions

View File

@@ -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, :image_path)
params.require(:employee).permit(:name, :role, :is_active, :emp_id, :password, :image_path)
end
end