Commit 64324db9 by ivan Lan

Fix the last commit

parent 092e5309
...@@ -40,15 +40,15 @@ module Shotengai ...@@ -40,15 +40,15 @@ module Shotengai
private private
def resource_params def resource_params
params[resource_key] && params.require(resource_key).permit( params[resource_key] && params.require(resource_key).permit(
:address, :customer_remark, :need_express, : :address, :customer_remark,
:delivery_way, :delivery_cost,
incr_snapshot_ids: [], gone_snapshot_ids: [] incr_snapshot_ids: [], gone_snapshot_ids: []
) )
end end
def snapshot_params def snapshot_params
params[:snapshot] && params.require(:snapshot).permit( params[:snapshot] && params.require(:snapshot).permit(
:shotengai_series_id, :count, :shotengai_series_id, :count
:delivery_way, :delivery_cost, :customer_remark,
) )
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment