|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="head-nav pr">
|
|
|
|
<div class="head-nav pr">
|
|
|
|
<ul id="header-nav">
|
|
|
|
<ul id="header-nav">
|
|
|
|
<li class="<%= params[:controller] == "welcome" ? 'active' : '' %>"><%= link_to "首页", home_path %></li>
|
|
|
|
<!-- <li class="<%#= params[:controller] == "welcome" ? 'active' : '' %>"><%#= link_to "首页", home_path %></li>-->
|
|
|
|
<li class="<%= subjects_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践课程", subjects_path %></li>
|
|
|
|
<li class="<%= subjects_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践课程", subjects_path %></li>
|
|
|
|
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "翻转课堂", courses_path %></li>
|
|
|
|
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "翻转课堂", courses_path %></li>
|
|
|
|
<!-- 精选实训 -->
|
|
|
|
<!-- 精选实训 -->
|
|
|
|