From 19d925d592f25cb002ecbff6823e9765a6547590 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 9 Sep 2016 14:22:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E5=85=AC=E5=BC=80=E9=A1=B9=E7=9B=AE=E6=97=A0=E6=B3=95=E7=82=B9?= =?UTF-8?q?=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_project_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/_project_list.html.erb b/app/views/users/_project_list.html.erb index 9aeb39ab5..828f4f7ac 100644 --- a/app/views/users/_project_list.html.erb +++ b/app/views/users/_project_list.html.erb @@ -37,7 +37,7 @@ <% else %> <% projects.each_with_index do |project, i| %>
- <% allow_visit = User.current.member_of?(project) || User.current.admin? || project.is_public == 1 %> + <% allow_visit = User.current.member_of?(project) || User.current.admin? || project.is_public? %>
<%=render :partial => 'collect_project', :locals => {:project => project} %>