diff --git a/app/views/users/_l_shixun.html.erb b/app/views/users/_l_shixun.html.erb
index ea227d7b..df34c4b1 100644
--- a/app/views/users/_l_shixun.html.erb
+++ b/app/views/users/_l_shixun.html.erb
@@ -103,7 +103,7 @@
<% else %>
- <% if @user == User.current %>
+ <% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/app/views/users/_p_path.html.erb b/app/views/users/_p_path.html.erb
index 8eefe060..d5a4e74c 100644
--- a/app/views/users/_p_path.html.erb
+++ b/app/views/users/_p_path.html.erb
@@ -88,7 +88,7 @@
<% else %>
- <% if @user == User.current %>
+ <% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>