Supplier main board section selector
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user