Skip to content

Commit 17616b3

Browse files
committed
Update application_helper.rb
1 parent 239e105 commit 17616b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def report_history(obj, text: 'Report history')
77
url = :"#{obj.class.to_s.downcase}_report_url"
88
id = modal(
99
'Report history', size: :xl,
10-
async: call(url, obj, content: true)
10+
async: send(url, obj, content: true)
1111
)
1212
modal_button(id, class: 'btn btn-primary btn-sm') do
1313
fa_icon('archive') + ' ' + text

0 commit comments

Comments
 (0)