diff --git a/app/views/admin/reports/_report_subtype.html.haml b/app/views/admin/reports/_report_subtype.html.haml index 3f56ca72a9..c043c68e61 100644 --- a/app/views/admin/reports/_report_subtype.html.haml +++ b/app/views/admin/reports/_report_subtype.html.haml @@ -1,5 +1,5 @@ %ul{style: "margin-left: 12pt"} - report_subtypes.each do |report_subtype| %li - - url = main_app.admin_report_url(report_type: report_type, report_subtype: report_subtype[1]) + - url = main_app.admin_report_path(report_type: report_type, report_subtype: report_subtype[1]) = link_to report_subtype[0], url diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml index caebd55c83..92de53506a 100644 --- a/app/views/admin/reports/show.html.haml +++ b/app/views/admin/reports/show.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = @report_title -= form_for @report.search, :url => url_for(only_path: false) do |f| += form_for @report.search, :url => url_for do |f| %fieldset.no-border-bottom.print-hidden %legend{ align: 'center'}= t(:report_filters) = render partial: "admin/reports/filters/#{@report_type}", locals: { f: f }