Skip to content

Commit

Permalink
Issue alaashafaee#476 adding a limit to who can view the statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi authored and Mahdi committed May 17, 2014
1 parent 4a5c68e commit 80ee751
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutor/app/views/students/list_courses.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<% if student_signed_in? %>
<h4>Choose a course :- </h4><br>
<% @courses_list.each do |crs| %>
<li> <%= link_to (Course.find_by_id(crs.course_id).name), students_get_performance_path(:student_id => crs.student_id, :course_id => crs.course_id) %></li><br>
<% end %>
<% end %>

0 comments on commit 80ee751

Please sign in to comment.