clean shop code

This commit is contained in:
Zin Moe
2020-01-13 16:23:33 +06:30
parent d379c05298
commit 66c375cc38
37 changed files with 20 additions and 50 deletions

View File

@@ -29,7 +29,6 @@ class Settings::CashierTerminalsController < ApplicationController
def create
@settings_cashier_terminal = CashierTerminal.new(settings_cashier_terminal_params)
@settings_cashier_terminal.shop_code = @shop.shop_code
respond_to do |format|
if @settings_cashier_terminal.save
format.html { redirect_to settings_cashier_terminals_path, notice: 'Cashier terminal was successfully created.' }