diff --git a/app/views/softapplications/index.html.erb b/app/views/softapplications/index.html.erb
index 9b321be70..de094f1eb 100644
--- a/app/views/softapplications/index.html.erb
+++ b/app/views/softapplications/index.html.erb
@@ -46,7 +46,7 @@
<%= image_tag('/images/app1.png')%>
<%= softapplication.description.truncate(95, omission: '...') %>
-
所属竞赛:
+
所属竞赛:<%#= contest ? link_to(contest.name, show_softapplication_contest_path()) : '尚未加入竞赛'%>
所属类别:<%= softapplication.app_type_name %>
系统支持:<%= softapplication.android_min_version_available %>
diff --git a/app/views/softapplications/show.html.erb b/app/views/softapplications/show.html.erb
index dda52858f..046705081 100644
--- a/app/views/softapplications/show.html.erb
+++ b/app/views/softapplications/show.html.erb
@@ -27,7 +27,7 @@
所属类别:<%= @softapplication.app_type_name %> |
<% contest = @softapplication.contests.first %>
- 所属竞赛:<%= contest ? link_to(contest.name, show_contest_contest_path(contest)) : '尚未加入竞赛'%> |
+ 所属竞赛:<%= contest ? link_to(contest.name, show_softapplication_contest_path(contest)) : '尚未加入竞赛'%> |
发布人员:<%= @softapplication.user.name %> |