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