Skip to content

Commit

Permalink
Use direct url in deface overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Nov 29, 2023
1 parent 08fb3fb commit 224ee71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/overrides/issues/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<%= link_to "Enregistrer en tant que template",
"#",
id: "init_issue_template",
"data-href": init_issue_template_path(project_id: @issue.project.id),
"data-href": "/issue_templates/init?project_id=#{@issue.project_id}",
class: "icon icon-copy pull-right" %>
<% end %>
<%= f.hidden_field :issue_template_id %>
Expand Down
1 change: 1 addition & 0 deletions app/overrides/issues/show.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require_relative '../../helpers/issue_templates_helper'
include IssueTemplatesHelper

Deface::Override.new :virtual_path => 'issues/show',
Expand Down

0 comments on commit 224ee71

Please sign in to comment.