课程导航的修改

This commit is contained in:
cxt 2016-09-05 16:36:43 +08:00
parent f94b048af2
commit 252851b4ad
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@
<div style="width:1000px; margin: 5px auto;">
<p class="sy_cgrey">
位置:&nbsp;&nbsp;
<%= link_to User.current, user_path(User.current.id), :class => 'sy_cgrey', :target => '_blank' %>
<%= link_to @syllabus.user.show_name, user_path(@syllabus.user), :class => 'sy_cgrey', :target => '_blank' %>
&nbsp;&gt;&nbsp;
<%= link_to '课程', user_courselist_user_path(User.current.id), :class => "sy_cgrey", :target => '_blank' %>
<%= link_to '课程', user_courselist_user_path(@syllabus.user), :class => "sy_cgrey", :target => '_blank' %>
&nbsp;&gt;&nbsp;
<%= link_to @syllabus.title, syllabus_path(@syllabus.id), :class => "sy_cgrey" %>
</p>