|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<li class="<%= params[:controller] == "libraries" ? "active" : "" %>"><%= link_to '文库', libraries_path %></li>
|
|
|
|
|
|
|
|
|
|
<li class="<%= params[:controller] == "competitions" ? " active" : "" %>"><%= link_to "竞赛", competitions_path %></li>
|
|
|
|
|
<li class="<%= params[:controller] == "forums" ? " active" : "" %>"><%= link_to "问答", forums_path %></li>
|
|
|
|
|
<% if User.current.ec_school.present? %>
|
|
|
|
|