Commit 7587b5bc by ivan Lan

Remove method other_resource_params in base controller

parent bef95b65
......@@ -123,7 +123,7 @@ module Shotengai
# super.merge params.require(:some_key)
# end
def resource_params
params.require(resource_key).permit!.merge other_resource_params
params.require(resource_key).permit!
end
end
end
......
......@@ -49,8 +49,6 @@ module Shotengai
banners: []
).merge(
{ spec: spec, detail: detail, 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