app/helpers/dossier/application_helper.rb in dossier-2.13.1 vs app/helpers/dossier/application_helper.rb in dossier-3.0.0.pre
- old
+ new
@@ -1,7 +1,11 @@
module Dossier
module ApplicationHelper
+ def report
+ @report
+ end
+
def formatted_dossier_report_path(format, report)
dossier_report_path(format: format, options: report.options, report: report.report_name)
end
def render_options(report)