diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb
index 767d94efa..43c08c75c 100644
--- a/app/views/topics/show.html.erb
+++ b/app/views/topics/show.html.erb
@@ -32,10 +32,10 @@
edit_community_topic_path(@community.id, @topic),
class: "button hollow expanded" %>
- <%= link_to t("community.show.topic.destroy"),
- community_topic_path(@community.id, @topic),
- method: :delete,
- class: "button hollow expanded alert" %>
+ <%= button_to t("community.show.topic.destroy"),
+ community_topic_path(@community.id, @topic),
+ method: :delete,
+ class: "button hollow expanded alert" %>
<% end %>
diff --git a/spec/system/topics_spec.rb b/spec/system/topics_spec.rb
index f2704f848..5e8094fc8 100644
--- a/spec/system/topics_spec.rb
+++ b/spec/system/topics_spec.rb
@@ -131,7 +131,7 @@ describe "Topics" do
login_as(user)
visit community_topic_path(topic.community, topic)
- click_link "Delete topic"
+ click_button "Delete topic"
expect(page).to have_content "Topic deleted successfully."
expect(page).not_to have_content topic.title