Fix Datatables

Using `def_delegator` needs Forwardable
This commit is contained in:
Henne Vogelsang 2022-02-10 18:30:28 +01:00
parent c436ae172c
commit 19d8afa613
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 6 additions and 2 deletions

View file

@ -23,7 +23,7 @@ module Admin
respond_to do |format|
format.html
format.json do
render json: UserDatatable.new(view_context)
render json: UserDatatable.new(view_context: view_context)
end
end
end