<div class="tabs">
  <ul>
    <li><%= link_to '精品课程', {:action => 'excellent_courses'},   class: "#{current_page?(excellent_courses_path)? 'selected' : nil }" %></li>
    <li><%= link_to '全部课程',  {:action => 'excellent_all_courses'},  class: "#{current_page?(excellent_all_courses_path)? 'selected' : nil }" %></li>

  </ul>
</div>