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

@ -20,7 +20,7 @@ module Admin
respond_to do |format|
format.html
format.json do
render json: RegistrationDatatable.new(view_context, conference: @conference)
render json: RegistrationDatatable.new(view_context: view_context, conference: @conference)
end
format.pdf { render 'index', layout: false }
format.xlsx do