From e1fc755f4964574a820f72978e76311e815c3ac4 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 12 Apr 2019 11:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_l_course.html.erb | 2 +- app/views/users/_l_project.html.erb | 2 +- app/views/users/_l_shixun.html.erb | 2 +- app/views/users/_p_path.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/users/_l_course.html.erb b/app/views/users/_l_course.html.erb index d3f161a2..77ef8a36 100644 --- a/app/views/users/_l_course.html.erb +++ b/app/views/users/_l_course.html.erb @@ -99,7 +99,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/_l_project.html.erb b/app/views/users/_l_project.html.erb index 7f4d5411..ab2df884 100644 --- a/app/views/users/_l_project.html.erb +++ b/app/views/users/_l_project.html.erb @@ -99,7 +99,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/_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) %>