Commit 565e030f by liyijie

update export params

parent a6530001
...@@ -53,7 +53,7 @@ class SimpleController::BaseController < ::InheritedResources::Base ...@@ -53,7 +53,7 @@ class SimpleController::BaseController < ::InheritedResources::Base
end end
def export def export
url = exportable_class.export_xlsx collection, params.to_unsafe_h url = exportable_class.export_xlsx collection, **params.to_unsafe_h
render json: { url: url }, status: 201 render json: { url: url }, status: 201
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