Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Link to annotation author instead of current_user (which is wrong bef…
Browse files Browse the repository at this point in the history
…ore)
  • Loading branch information
allenwq committed Oct 1, 2015
1 parent c491888 commit 3ca9d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/comments/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<li class="annotation-summary comment" >
<div class="commentor" style="display: inline">
<span class="student-link">
<a href="<%= course_user_course_path(@course, curr_user_course)%>"><%= anno.user_course.name if anno.user_course%></a>
<%= link_to anno.user_course.name, course_user_course_path(@course, anno.user_course) %>
</span>
</div>
<div class="annotation-inner" ><%= style_format(anno.text, false) %></div>
Expand Down

0 comments on commit 3ca9d38

Please sign in to comment.