mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Remove StockLocation from ReturnAuthorization
We have only one default location and don't need it associated to anything.
This commit is contained in:
@@ -23,7 +23,7 @@ module Spree
|
||||
|
||||
def permitted_resource_params
|
||||
params.require(:return_authorization).
|
||||
permit(:amount, :reason, :stock_location_id)
|
||||
permit(:amount, :reason)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user