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