Skip to content

Commit

Permalink
Merge pull request #1199 from dradis/fix-evidence-template-switch
Browse files Browse the repository at this point in the history
Remove unused cache
  • Loading branch information
aapomm authored Dec 20, 2023
2 parents 47882a0 + 4ff9547 commit b0042d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
- Upgraded gems:
- rails
- Bugs fixes:
- Evidence: Prevent loading old Evidence template content at the Issue level
- Methodologies: validate presence of content
- Bug tracker items:
- [item]
- New integrations:
- [integration]
- Integration enhancements:
Expand Down
2 changes: 0 additions & 2 deletions app/views/issues/evidence/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
<div class="row">
<div class="col-12">
<h5>Evidence Content</h5>
<% cache [@content, @issue, @nodes_for_add_evidence] do %>
<%= f.hidden_field :issue_id, value: @issue.id %>
<%= f.hidden_field :node_id, value: @issue.node_id %>

Expand All @@ -107,7 +106,6 @@
rows: 20,
value: (@template_content || @content)
%>
<% end %>
</div>
</div>
<div class="row">
Expand Down

0 comments on commit b0042d5

Please sign in to comment.