Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %li{:class => current_page?(root_path) ? 'active' : ''}= link_to_unless_current('Home', root_path)
- %li{:class => current_page?(about_path) ? 'active' : ''}= link_to_unless_current('About', about_path)
- %li{:class => current_page?(features_path) ? 'active' : ''}= link_to_unless_current('Features', features_path)
- %li{:class => current_page?(pricing_path) ? 'active' : ''}= link_to_unless_current('Pricing', pricing_path)
- %li{:class => current_page?(contact_path) ? 'active' : ''}= link_to_unless_current('Contact', contact_path)
Add Comment
Please, Sign In to add comment