We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a778ef4 commit 44d4007Copy full SHA for 44d4007
app/views/layouts/application.html.erb
@@ -38,7 +38,7 @@
38
<% end %>
39
40
<% if dev_tools_enabled? %>
41
- <%= render partial: 'layouts/developer_tools' if current_disclosure_report.try(:completed?) %>
+ <%= render partial: 'layouts/developer_tools' if controller_name != "errors" && current_disclosure_report.try(:completed?) %>
42
43
44
<%= render template: 'layouts/govuk_template', layout: false %>
0 commit comments