質問編集履歴
2
end
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,6 +34,7 @@
|
|
34
34
|
filename: 'supporters_list.pdf',
|
35
35
|
type: 'application/pdf',
|
36
36
|
disposition: 'inline' # 画面に表示
|
37
|
+
end
|
37
38
|
end
|
38
39
|
end
|
39
40
|
```
|
1
不要行削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
respond_to do |format|
|
29
29
|
format.html
|
30
|
-
|
30
|
+
format.pdf do
|
31
31
|
pdf = CreatePdf.new(@supporters,@event)
|
32
32
|
|
33
33
|
send_data pdf.render,
|