Skip to content

Commit

Permalink
add rating to course card
Browse files Browse the repository at this point in the history
  • Loading branch information
rifrifqyqy committed Nov 6, 2024
1 parent 2d8129e commit f785b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/shared/components/_course_card.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
<%= course.title %>
</h1>
<p class="line-clamp-1"><%= course.description %></p>
<p class="line-clamp-1"><%= course.average_rating %> Rating</p>
</div>
<% end %>

0 comments on commit f785b6c

Please sign in to comment.