.sub-menu %nav %ul - (collection = t 'feed_menu').each do |base, title| %li= link_to title, activity_feeds_path(:filter => base), :class => @filter == base ? 'active' : ''