supplier client sections working with problematic authentication still active
This commit is contained in:
@@ -31,8 +31,7 @@ module Suppliers
|
||||
# GET /sections/new
|
||||
# GET /sections/new.json
|
||||
def new
|
||||
@section = Section.new
|
||||
@section.supplier = current_supplier
|
||||
@section = Section.new supplier: current_supplier
|
||||
render json: @section
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user