diff --git a/tutor/app/views/students/list_courses.html.erb b/tutor/app/views/students/list_courses.html.erb index 176dfd56..c317b10a 100644 --- a/tutor/app/views/students/list_courses.html.erb +++ b/tutor/app/views/students/list_courses.html.erb @@ -1,4 +1,6 @@ +<% if student_signed_in? %>

Choose a course :-


<% @courses_list.each do |crs| %>
  • <%= link_to (Course.find_by_id(crs.course_id).name), students_get_performance_path(:student_id => crs.student_id, :course_id => crs.course_id) %>

  • +<% end %> <% end %> \ No newline at end of file