Commit 3e292b48 by ivan Lan

Remove other_resource_params

parent 7587b5bc
......@@ -120,7 +120,7 @@ module Shotengai
# If you want to add custome columns, you can do just like:
# def resource_params
# super.merge params.require(:some_key)
# super&.merge params.require(:some_key)
# end
def resource_params
params.require(resource_key).permit!
......
......@@ -23,8 +23,6 @@ module Shotengai
:original_price, :price, :stock
).merge(
{ spec: spec, meta: meta }
).merge(
other_resource_params
)
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