Commit 7587b5bc by ivan Lan

Remove method other_resource_params in base controller

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