diff --git a/app/controllers/application_controller/report_downloads.rb b/app/controllers/application_controller/report_downloads.rb index 18820647f02c..cd29222bbc86 100644 --- a/app/controllers/application_controller/report_downloads.rb +++ b/app/controllers/application_controller/report_downloads.rb @@ -45,8 +45,8 @@ def render_pdf_internal(report) def render_pdf_internal_rr(report, result) @options = report_print_options(report, result) # used by the layouts/print render( - :template => '/layouts/print/report', - :layout => '/layouts/print', + :template => 'layouts/print/report', + :layout => 'layouts/print', :locals => { :report => report, :data => result.html_rows.join @@ -122,8 +122,8 @@ def print_report @options = report_print_options(result.report, result) # used by the layouts/print render( - :template => '/layouts/print/report', - :layout => '/layouts/print', + :template => 'layouts/print/report', + :layout => 'layouts/print', :locals => { :report => result.report, :data => result.html_rows.join @@ -231,7 +231,7 @@ def set_summary_pdf_data end disable_client_cache - render :template => '/layouts/print/textual_summary', :layout => '/layouts/print' + render :template => 'layouts/print/textual_summary', :layout => 'layouts/print' end end end