continuing the refactor of the admin section
This commit is contained in:
@@ -44,6 +44,7 @@ module Admin
|
||||
# POST /tables.json
|
||||
def create
|
||||
@table = Table.new(params[:table])
|
||||
@table.supplier_id = params[:table][:supplier_id]
|
||||
|
||||
respond_to do |format|
|
||||
if @table.save
|
||||
|
||||
Reference in New Issue
Block a user