Skip to content

Commit 49b00cd

Browse files
ma-rom0e33
authored andcommitted
Hotfix back link in edit.html (#161)
1 parent bde7932 commit 49b00cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/lectures/edit.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
<%= render 'form', lecture: @lecture, render_enrolment_key: true %>
44

5-
<%= link_to 'Back', course_lectures_path(course_id:@lecture.course.id, id: @lecture.id) %> |
5+
<%= link_to 'Back', course_lecture_path(course_id:@lecture.course.id, id: @lecture.id) %> |
66
<%= link_to 'Delete', course_lecture_path(course_id:@lecture.course.id, id: @lecture.id), method: :delete, data: { confirm: 'Are you sure?' } %>

0 commit comments

Comments
 (0)