change styling towards design rj
This commit is contained in:
@@ -59,7 +59,7 @@ module Suppliers
|
||||
# PUT /sections/1
|
||||
# PUT /sections/1.json
|
||||
def update
|
||||
@section = Section.find(params[:id])
|
||||
@section = Section.find_by_supplier_and_id(current_supplier, params[:id])
|
||||
|
||||
respond_to do |format|
|
||||
if @section.update_attributes(params[:section])
|
||||
|
||||
Reference in New Issue
Block a user