Skip to content

Instantly share code, notes, and snippets.

@Heavyblade
Created September 11, 2012 19:25
Show Gist options
  • Select an option

  • Save Heavyblade/3701305 to your computer and use it in GitHub Desktop.

Select an option

Save Heavyblade/3701305 to your computer and use it in GitHub Desktop.
%li{current_tab_if(:portal_home)}= link_to "All Sports Home", root_url
%li{current_tab_if(:debates)}= link_to 'Debates', debates_path
%li{current_tab_if(:blogs)}= link_to 'Articles', entries_path
%li{current_tab_if(:shows)}= link_to 'Shows', shows_path
%li{current_tab_if(:leaderboard)}= link_to 'Leaderboard', leaderboards_path
/%li{current_tab_if(:blogs_list)}= link_to "Blogs", blogs_path(:time=>'month')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment