Supplier main board section selector

This commit is contained in:
2013-12-11 18:31:32 +01:00
parent 8aede39b27
commit 391c8a7613
15 changed files with 58 additions and 18 deletions
+6
View File
@@ -11,6 +11,12 @@ class SupplierController < ApplicationController
@supplier = current_supplier
end
def current
respond_to do |format|
format.json { render json: {supplier: current_supplier.as_json} }
end
end
# POST /supplier/settings
def update
@supplier = current_supplier