Skip to content

Commit 0fe2641

Browse files
committed
Always show my courses
1 parent 46975ff commit 0fe2641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/organizations/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
%>
127127
<% end %>
128128

129-
<% unless @my_courses.empty? %>
129+
<% unless current_user.guest? %>
130130
<%=
131131
render partial: 'courses/list_my_courses',
132132
locals: { courses: @my_courses, title: 'My courses', percent_completed: @my_courses_percent_completed }

0 commit comments

Comments
 (0)