change styling towards design rj

This commit is contained in:
2012-09-02 12:23:08 +02:00
parent 6ad542b65c
commit 50434c28cf
23 changed files with 3087 additions and 25 deletions
@@ -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])