clean shop code
This commit is contained in:
@@ -31,7 +31,6 @@ class Settings::EmployeesController < ApplicationController
|
||||
# POST /employees.json
|
||||
def create
|
||||
@employee = Employee.new(employee_params)
|
||||
@employee.shop_code =@shop.shop_code
|
||||
respond_to do |format|
|
||||
if @employee.save
|
||||
format.html { redirect_to settings_employees_path, notice: 'Employee was successfully created.' }
|
||||
|
||||
Reference in New Issue
Block a user