Skip to content

Commit

Permalink
Fixed file delete confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Jun 8, 2021
1 parent 7d5bf8b commit a17359d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/git/_blob.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<%= button_link_to('Delete', 'destroy',
polymorphic_path([@parent_resource, :git_remove_file], version: @git_version.version, file: { path: params[:path] }),
method: :delete,
confirm: "Are you sure you wish to delete this file?") %>
data: { confirm: "Are you sure you wish to delete this file?" }) %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit a17359d

Please sign in to comment.