diff --git a/app/views/layouts/_user_courses_list.html.erb b/app/views/layouts/_user_courses_list.html.erb index d3da499dc..799c7c488 100644 --- a/app/views/layouts/_user_courses_list.html.erb +++ b/app/views/layouts/_user_courses_list.html.erb @@ -1,6 +1,6 @@ <% if hasCourse %>
  • - <%=link_to l(:label_my_course), {:controller => 'users', :action => 'user_courses', id: User.current.id} %> + <%=link_to l(:label_my_course), "http://" + Setting.host_course + user_courses_user_path(User.current.id) %>