test/dummy/app/controllers/home_controller.rb in pdfcraft-0.0.1 vs test/dummy/app/controllers/home_controller.rb in pdfcraft-1.0.0
- old
+ new
@@ -20,6 +20,10 @@
end
def pdf_layout
render pdf: "contents"
end
+
+ def renamed_var
+ render pdf: "contents", layout: false
+ end
end