Commits

Anonymous committed 39f09bf

more nav links

  • Participants
  • Parent commits 06d8567

Comments (0)

Files changed (1)

File views/layouts/application.html.erb

             <li class="menuout" onMouseOver="this.className='menuover'" onMouseOut="this.className='menuout'">
               <%= link_to '精华', '/hottest', :class => 'submenutitle' %>
               <%= link_to '24小时内', group_hottest_path(@group, 'day'), :class => 'submenu' %>
+              <%= link_to '昨天', archive_path(:date => Date.yesterday), :class => 'submenu' %>
+              <%= link_to '前天', archive_path(:date => Date.yesterday - 1), :class => 'submenu' %>
               <%= link_to '7天内', group_hottest_path(@group, 'week'), :class => 'submenu' %>
               <%= link_to '30天内', group_hottest_path(@group, 'month'), :class => 'submenu' %>
+              <%= link_to '一年内', group_hottest_path(@group, 'year'), :class => 'submenu' %>
             </li>
             <li class="menuout"><%= link_to '最新', group_latest_path(@group) %></li>
             <li class="menuout"><%= link_to '真相', group_picture_path(@group) %></li>