Skip to content

Commit

Permalink
removes html_safe and drys code
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCouzens committed Aug 16, 2024
1 parent 690fcc5 commit f9b8527
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/download_report/bad_request.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
= content_for(:title, "Invalid request".html_safe)
= content_for(:title, "Invalid request")

%h1.heading-large Invalid request
%h1.heading-large
= yield(:title)

%p
Your request could not be processed, due to:
Expand Down

0 comments on commit f9b8527

Please sign in to comment.